Skip to content

Commit

Permalink
Proper semantics for .register method.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdeboard committed Dec 24, 2011
1 parent 9e5e087 commit d1ee5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yuk/admin.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
class ItemAdmin(admin.ModelAdmin): class ItemAdmin(admin.ModelAdmin):
list_display = ('date_created', 'user', 'displays', 'item_type') 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.