Skip to content

Commit 0c53660

Browse files
committed
Merge pull request #116 from davidfischer-ch/master
ModelFormMixin (base class of ApplicationUpdate) without the fields attribute is prohibited.
2 parents 054c3ef + 5a88e7b commit 0c53660

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth2_provider/views/application.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class ApplicationOwnerIsUserMixin(LoginRequiredMixin):
1212
This mixin is used to provide an Application queryset filtered by the current request.user.
1313
"""
1414
model = get_application_model()
15+
fields = '__all__'
1516

1617
def get_queryset(self):
1718
queryset = super(ApplicationOwnerIsUserMixin, self).get_queryset()

0 commit comments

Comments
 (0)