meta position
This commit is contained in:
parent
86fdca4c90
commit
64f47e445f
|
@ -99,6 +99,10 @@ class Noteworthy(models.Model):
|
||||||
description = models.TextField(blank=True)
|
description = models.TextField(blank=True)
|
||||||
url = models.URLField(blank=True)
|
url = models.URLField(blank=True)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ['position']
|
||||||
|
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
model = self.__class__
|
model = self.__class__
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user