order files by -added

This commit is contained in:
Sanj 2011-07-04 19:26:12 +05:30
parent 29db08cccb
commit 628d5d0520

View File

@ -105,7 +105,7 @@ class File(models.Model):
fts_fields = ['title', 'description']
class Meta:
ordering = ['title']
ordering = ['-added']
@classmethod
def filter_category(kls, category_id, qset):