Update cabinets and document_index api views docstrings. Update multi level docstrings as per Python best practices.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-03-14 21:39:14 -04:00
committed by Roberto Rosario
parent f44fbe5687
commit de65d96fe2
35 changed files with 40 additions and 227 deletions

View File

@@ -35,7 +35,6 @@ class MetadataType(models.Model):
"""
Define a type of metadata
"""
name = models.CharField(
max_length=48,
help_text=_(
@@ -149,7 +148,6 @@ class DocumentMetadata(models.Model):
Link a document to a specific instance of a metadata type with it's
current value
"""
document = models.ForeignKey(
Document, on_delete=models.CASCADE, related_name='metadata',
verbose_name=_('Document')