From 5a88e7b90b277a1b77590b8283417f0025e0a220 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Tue, 8 Apr 2014 13:04:06 +0200 Subject: [PATCH] Fix -> Using ModelFormMixin (base class of ApplicationUpdate) without the fields attribute is prohibited. --- oauth2_provider/views/application.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2_provider/views/application.py b/oauth2_provider/views/application.py index d241895bd..2d6ef617f 100644 --- a/oauth2_provider/views/application.py +++ b/oauth2_provider/views/application.py @@ -12,6 +12,7 @@ class ApplicationOwnerIsUserMixin(LoginRequiredMixin): This mixin is used to provide an Application queryset filtered by the current request.user. """ model = get_application_model() + fields = '__all__' def get_queryset(self): queryset = super(ApplicationOwnerIsUserMixin, self).get_queryset()