Fix Django 2.0 deprecation warnings

This commit is contained in:
AlanCoding
2019-04-12 14:45:44 -04:00
parent 864fef4f29
commit 8c2b3e9b84
15 changed files with 24 additions and 17 deletions

View File

@@ -249,6 +249,7 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
'CredentialType',
related_name='credentials',
null=False,
on_delete=models.CASCADE,
help_text=_('Specify the type of credential you want to create. Refer '
'to the Ansible Tower documentation for details on each type.')
)