added ordering by featured

This commit is contained in:
Sanj 2011-07-10 06:55:20 +05:30
parent 4e1085e38b
commit 463d08742d

View File

@ -209,7 +209,7 @@ class Article(models.Model):
class Meta:
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.