mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
make applications name-unique
This commit is contained in:
@@ -27,6 +27,7 @@ class OAuth2Application(AbstractApplication):
|
||||
class Meta:
|
||||
app_label = 'main'
|
||||
verbose_name = _('application')
|
||||
unique_together = (("name", "organization"),)
|
||||
|
||||
CLIENT_CONFIDENTIAL = "confidential"
|
||||
CLIENT_PUBLIC = "public"
|
||||
|
||||
Reference in New Issue
Block a user