Browse Source

pyi2phosts/postkey/admin.py: order by descending

pull/1/head
Hidden Z 14 years ago
parent
commit
6200a466ff
  1. 2
      pyi2phosts/postkey/admin.py

2
pyi2phosts/postkey/admin.py

@ -14,7 +14,7 @@ class i2phostAdmin(admin.ModelAdmin):
list_display_links = ['name'] list_display_links = ['name']
list_filter = ('activated', 'external', 'approved') list_filter = ('activated', 'external', 'approved')
search_fields = ['name'] search_fields = ['name']
ordering = ['date_added'] ordering = ['-date_added']
class PendingAdmin(i2phostAdmin): class PendingAdmin(i2phostAdmin):
def queryset(self, request): def queryset(self, request):

Loading…
Cancel
Save