Permalink
Browse files

Proper semantics for .register method.

  • Loading branch information...
mattdeboard committed Dec 24, 2011
1 parent 9e5e087 commit d1ee5b2ad957e8a01a11ba2ea3d325796412812f
Showing with 1 addition and 1 deletion.
  1. +1 −1 yuk/admin.py
View
@@ -5,4 +5,4 @@
class ItemAdmin(admin.ModelAdmin):
list_display = ('date_created', 'user', 'displays', 'item_type')
-admin.site.register(Item)
+admin.site.register(Item, ItemAdmin)

0 comments on commit d1ee5b2

Please sign in to comment.