Skip to content

Commit

Permalink
remove __unicode__ from admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vicalloy committed Aug 19, 2016
1 parent 3b57b82 commit 66c3794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbforum/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TopicAdmin(admin.ModelAdmin):

class PostAdmin(admin.ModelAdmin):
list_display = (
'__unicode__', 'topic', 'posted_by', 'poster_ip',
'topic', 'posted_by', 'poster_ip',
'created_on', 'updated_on', )
search_fields = ('topic__subject', 'posted_by__username', 'message', )
raw_id_fields = ('topic', 'posted_by', 'attachments', 'last_updated_by')
Expand Down

0 comments on commit 66c3794

Please sign in to comment.