Revision a6da4134 cloudcmsblog/admin.py
b/cloudcmsblog/admin.py | ||
---|---|---|
72 | 72 |
|
73 | 73 |
class CategoryAdmin(admin.ModelAdmin): |
74 | 74 |
inlines = [CategoryTranslationInline] |
75 |
list_display = ['__unicode__', 'entries'] |
|
75 |
list_display = ['__unicode__', 'entries_count', 'ordering'] |
|
76 |
list_editable = ['ordering'] |
|
76 | 77 |
search_fields = ['translations__title'] |
77 | 78 |
|
78 | 79 |
def entries(self, obj): |
Also available in: Unified diff