remove unnesscery redirect and and new admin view size
This commit is contained in:
@@ -49,5 +49,5 @@ class MessageAdmin(ModelAdmin, ImportExportModelAdmin):
|
||||
}
|
||||
}
|
||||
def content_display(self, obj):
|
||||
return obj.content[0:20] + '...'
|
||||
return obj.content[0:35] + '...'
|
||||
content_display.short_description = 'محتوای پیام'
|
||||
Reference in New Issue
Block a user