Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Proper semantics for .register method.

  • Loading branch information...
commit d1ee5b2ad957e8a01a11ba2ea3d325796412812f 1 parent 9e5e087
@mattdeboard authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.