1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-02-02 01:44:40 +00:00

pyi2phosts/postkey/admin.py: order by descending

This commit is contained in:
Hidden Z 2010-11-05 19:43:19 +00:00
parent d1366aea50
commit 6200a466ff

View File

@ -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):