padding, margin changes for upload
This commit is contained in:
commit
2624566cb2
|
@ -103,6 +103,9 @@ class File(models.Model):
|
||||||
|
|
||||||
fts_fields = ['title', 'description']
|
fts_fields = ['title', 'description']
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ['title']
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def filter_category(kls, category_id, qset):
|
def filter_category(kls, category_id, qset):
|
||||||
return qset.filter(categories=category_id)
|
return qset.filter(categories=category_id)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user