Commit e856cd60 by Oláh István Gergely

dashboard: remove unnecessary get_context_data from GroupCreateView

parent 1bd14481
...@@ -1305,14 +1305,6 @@ class GroupCreate(LoginRequiredMixin, TemplateView): ...@@ -1305,14 +1305,6 @@ class GroupCreate(LoginRequiredMixin, TemplateView):
}) })
return self.render_to_response(context) return self.render_to_response(context)
def get_context_data(self, **kwargs):
context = super(GroupCreate, self).get_context_data(**kwargs)
# TODO acl
context.update({
})
return context
def post(self, request, *args, **kwargs): def post(self, request, *args, **kwargs):
if not request.user.has_module_perms('auth'): if not request.user.has_module_perms('auth'):
raise PermissionDenied() raise PermissionDenied()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment