remove unnesscery redirect and and new admin view size
This commit is contained in:
@@ -85,5 +85,5 @@ class AddressAdmin(ModelAdmin, ImportExportModelAdmin):
|
||||
}
|
||||
}
|
||||
def address_display(self, obj):
|
||||
return obj.address[0:20]
|
||||
return obj.address[0:35] + '...'
|
||||
address_display.short_description = 'ادرس'
|
||||
Reference in New Issue
Block a user