Change order of classes for User and Group

This commit is contained in:
Norman Jäckel 2013-03-18 22:43:46 +01:00
parent d82bb6ee33
commit d81c3bb1f8

View File

@ -26,7 +26,7 @@ from openslides.projector.api import register_slidemodel
from openslides.projector.projector import SlideMixin
class User(PersonMixin, DjangoUser, Person, SlideMixin):
class User(PersonMixin, Person, SlideMixin, DjangoUser):
prefix = 'user' # This is for the slides
person_prefix = 'user'
GENDER_CHOICES = (
@ -133,7 +133,7 @@ class User(PersonMixin, DjangoUser, Person, SlideMixin):
register_slidemodel(User)
class Group(DjangoGroup, PersonMixin, Person, SlideMixin):
class Group(PersonMixin, Person, SlideMixin, DjangoGroup):
prefix = 'group' # This is for the slides
person_prefix = 'group'