Skip to content

Commit 574df83

Browse files
committed
use all fields instead of a hard coded list, so that extended models don't also require an extended form
1 parent b6af819 commit 574df83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ class RegistrationForm(forms.ModelForm):
2525
"""
2626
class Meta:
2727
model = get_application_model()
28-
fields = ('name', 'client_id', 'client_secret', 'client_type', 'authorization_grant_type', 'redirect_uris')
28+
fields = '__all__'

0 commit comments

Comments
 (0)