mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-02 09:55:52 +00:00
pyi2phosts/postkey/admin.py: order by descending
This commit is contained in:
parent
d1366aea50
commit
6200a466ff
@ -14,7 +14,7 @@ class i2phostAdmin(admin.ModelAdmin):
|
||||
list_display_links = ['name']
|
||||
list_filter = ('activated', 'external', 'approved')
|
||||
search_fields = ['name']
|
||||
ordering = ['date_added']
|
||||
ordering = ['-date_added']
|
||||
|
||||
class PendingAdmin(i2phostAdmin):
|
||||
def queryset(self, request):
|
||||
|
Loading…
x
Reference in New Issue
Block a user