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): @@ -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…
Cancel
Save