Skip to content

Commit

Permalink
use all fields instead of a hard coded list, so that extended models …
Browse files Browse the repository at this point in the history
…don't also require an extended form
  • Loading branch information
honestbleeps committed Mar 24, 2015
1 parent b6af819 commit 574df83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2_provider/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ class RegistrationForm(forms.ModelForm):
"""
class Meta:
model = get_application_model()
fields = ('name', 'client_id', 'client_secret', 'client_type', 'authorization_grant_type', 'redirect_uris')
fields = '__all__'

0 comments on commit 574df83

Please sign in to comment.