Restore previous choices, clean up some minor things

This commit is contained in:
Wayne Witzel III
2018-04-20 13:00:18 -04:00
parent 8fa98d0d54
commit d6ac9b6e3d
4 changed files with 4 additions and 4 deletions

View File

@@ -714,7 +714,7 @@ class CredentialTypeInputField(JSONSchemaField):
if field['type'] == 'become_method':
if not model_instance.managed_by_tower:
raise django_exceptions.ValidationError(
_('{0} is a reserved type name'.format(field['type'])),
_('become_method is a reserved type name'),
code='invalid',
params={'value': value},
)