added ordering by featured
This commit is contained in:
parent
4e1085e38b
commit
463d08742d
|
@ -209,7 +209,7 @@ class Article(models.Model):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ('product', 'order',)
|
unique_together = ('product', 'order',)
|
||||||
ordering = ['-published_date', '-created']
|
ordering = ['-featured', '-published_date', '-created']
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Return boolean for whether user can edit article on tool or not - must be passed a valid User object.
|
Return boolean for whether user can edit article on tool or not - must be passed a valid User object.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user