From 5c18635418309052283680fc73df0a70a1bf70ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Mon, 3 Jun 2013 19:02:27 +0200 Subject: [PATCH] Change order of agenda fields --- openslides/agenda/models.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/openslides/agenda/models.py b/openslides/agenda/models.py index 119a2f7da..13fe078aa 100644 --- a/openslides/agenda/models.py +++ b/openslides/agenda/models.py @@ -61,17 +61,6 @@ class Item(MPTTModel, SlideMixin): Flag, if the item is finished. """ - weight = models.IntegerField(default=0, verbose_name=ugettext_lazy("Weight")) - """ - Weight to sort the item in the agenda. - """ - - parent = TreeForeignKey('self', null=True, blank=True, - related_name='children') - """ - The parent item in the agenda tree. - """ - type = models.IntegerField(max_length=1, choices=ITEM_TYPE, default=AGENDA_ITEM, verbose_name=ugettext_lazy("Type")) """ @@ -86,6 +75,17 @@ class Item(MPTTModel, SlideMixin): The intended duration for the topic. """ + parent = TreeForeignKey('self', null=True, blank=True, + related_name='children') + """ + The parent item in the agenda tree. + """ + + weight = models.IntegerField(default=0, verbose_name=ugettext_lazy("Weight")) + """ + Weight to sort the item in the agenda. + """ + related_sid = models.CharField(null=True, blank=True, max_length=63) """ Slide-ID to another object to show it in the agenda.