Adding project to credentials.

This commit is contained in:
Luke Sneeringer
2014-07-21 13:51:43 -05:00
parent de88b8b222
commit dd35df7255
2 changed files with 449 additions and 0 deletions

View File

@@ -91,6 +91,13 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique):
help_text=_('Password for this credential (or "ASK" to prompt the '
'user for machine credentials).'),
)
project = models.CharField(
blank=True,
default='',
max_length=100,
verbose_name=_('Project'),
help_text=_('The identifier for the project.'),
)
ssh_key_data = models.TextField(
blank=True,
default='',