Permalink
Browse files

Change list view for model admin.

  • Loading branch information...
1 parent 396ddcf commit 9e5e087211d03df72b7c17538fb43b95cd2dadeb @mattdeboard committed Dec 24, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 yuk/admin.py
View
4 yuk/admin.py
@@ -1,4 +1,8 @@
from yuk.models import Item
from django.contrib import admin
+
+class ItemAdmin(admin.ModelAdmin):
+ list_display = ('date_created', 'user', 'displays', 'item_type')
+
admin.site.register(Item)

0 comments on commit 9e5e087

Please sign in to comment.