filter applications
This commit is contained in:
parent
8682656f58
commit
d62ecb8573
1 changed files with 8 additions and 5 deletions
|
|
@ -65,13 +65,16 @@ class ApplicationCreateForm(forms.ModelForm):
|
|||
|
||||
readonly_fields = ['client_id', 'client_secret']
|
||||
|
||||
|
||||
class ApplicationUpdateForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Application
|
||||
fields = ['client_id',
|
||||
'client_secret',
|
||||
# 'authorization_grant_type',
|
||||
'redirect_uris',
|
||||
'post_logout_redirect_uris']
|
||||
fields = [
|
||||
'client_id',
|
||||
'client_secret',
|
||||
# 'authorization_grant_type',
|
||||
'redirect_uris',
|
||||
# 'post_logout_redirect_uris'
|
||||
]
|
||||
|
||||
readonly_fields = ['name', 'client_id', 'client_secret']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue