Add model docstrings.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-04-25 14:21:30 -04:00
parent f7ca0a8ddc
commit 7a0c2224bb
9 changed files with 141 additions and 5 deletions

View File

@@ -23,6 +23,11 @@ logger = logging.getLogger(__name__)
@python_2_unicode_compatible
class Key(models.Model):
"""
Fields:
* key_type - Will show private or public, the only two types of keys in
a public key infrastructure, the kind used in Mayan.
"""
key_data = models.TextField(
help_text=_('ASCII armored version of the key.'),
verbose_name=_('Key data')