Source

gnocchi-cms / gnocchi / cms / models.py

Diff from to

gnocchi/cms/models.py

     title = models.CharField(max_length=512)
 
     is_published = models.BooleanField(default=True)
+    order = models.PositiveIntegerField(default=0)
 
     template = models.ForeignKey(Template, blank=True, null=True)
     content = models.TextField(blank=True)
 
     objects = PageManager()
 
-    order = models.PositiveIntegerField(default=0)
-
     class Meta:
         verbose_name = _('page')
         verbose_name_plural = _('pages')