From 64f47e445f81d39bf460c87217a09fcce319d2a0 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 2 Oct 2012 18:26:25 +0530 Subject: [PATCH] meta position --- urbstudio/urb/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/urbstudio/urb/models.py b/urbstudio/urb/models.py index ffc0926..bef5db5 100755 --- a/urbstudio/urb/models.py +++ b/urbstudio/urb/models.py @@ -99,6 +99,10 @@ class Noteworthy(models.Model): description = models.TextField(blank=True) url = models.URLField(blank=True) + class Meta: + ordering = ['position'] + + def save(self, *args, **kwargs): model = self.__class__