Skip to content
Browse files

Proper semantics for .register method.

  • Loading branch information...
1 parent 9e5e087 commit d1ee5b2ad957e8a01a11ba2ea3d325796412812f @mattdeboard committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 yuk/admin.py
View
2 yuk/admin.py
@@ -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.
Something went wrong with that request. Please try again.