From 574df83823035e26e3b0b972e8e8e9cefb9b8e20 Mon Sep 17 00:00:00 2001 From: honestbleeps Date: Tue, 24 Mar 2015 12:34:23 -0500 Subject: [PATCH] use all fields instead of a hard coded list, so that extended models don't also require an extended form --- oauth2_provider/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2_provider/forms.py b/oauth2_provider/forms.py index 8f7b3ab34..16c2926ef 100644 --- a/oauth2_provider/forms.py +++ b/oauth2_provider/forms.py @@ -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__'