debug comment display content
This commit is contained in:
@@ -172,7 +172,7 @@ class CommentAdmin(ModelAdmin, ImportExportModelAdmin):
|
||||
}
|
||||
}
|
||||
def display_content(self, obj):
|
||||
return obj.display_content[0:20] + '...'
|
||||
return obj.content[0:20] + '...'
|
||||
display_content.short_description = 'محتوای کامنت'
|
||||
|
||||
@admin.register(DollorModel)
|
||||
|
||||
Reference in New Issue
Block a user