Use python 2/3 compatible unicode strings
This commit is contained in:
parent
6e032b22bb
commit
a9175d575b
2 changed files with 22 additions and 11 deletions
|
@ -9,6 +9,10 @@ class ItemAdmin(admin.ModelAdmin):
|
|||
search_fields = ('name',)
|
||||
|
||||
|
||||
class CommentAdmin(admin.ModelAdmin):
|
||||
list_display = ('author', 'date', 'snippet')
|
||||
|
||||
|
||||
admin.site.register(List)
|
||||
admin.site.register(Comment)
|
||||
admin.site.register(Comment, CommentAdmin)
|
||||
admin.site.register(Item, ItemAdmin)
|
Loading…
Add table
Add a link
Reference in a new issue