From 9f6da9f33bc5a55237efe5b30d748a030ecb918c Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 9 Apr 2013 19:53:18 +0200 Subject: [PATCH] Reorder GroupDetailView code in view.py. --- openslides/participant/views.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/openslides/participant/views.py b/openslides/participant/views.py index fae0fe92f..3e5a4551f 100644 --- a/openslides/participant/views.py +++ b/openslides/participant/views.py @@ -86,16 +86,6 @@ class UserDetailView(DetailView, PermissionMixin): context_object_name = 'shown_user' -class GroupDetailView(DetailView, PermissionMixin): - """ - Classed based view to show a specific group in the interface. - """ - permission_required = 'participant.can_manage_participant' - model = Group - template_name = 'participant/group_detail.html' - context_object_name = 'group' - - class UserCreateView(CreateView): """ Create a new participant. @@ -344,6 +334,16 @@ class GroupOverview(ListView): model = Group +class GroupDetailView(DetailView, PermissionMixin): + """ + Classed based view to show a specific group in the interface. + """ + permission_required = 'participant.can_manage_participant' + model = Group + template_name = 'participant/group_detail.html' + context_object_name = 'group' + + class GroupCreateView(CreateView): """ Create a new group.