change: change all admins
This commit is contained in:
@@ -5,6 +5,6 @@ from core.apps.wherehouse.models.wherehouse import WhereHouse
|
||||
|
||||
@admin.register(WhereHouse)
|
||||
class WhereHouseAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'address', 'branch']
|
||||
list_display = ['id','name', 'address', 'branch']
|
||||
search_fields = ['name', 'address']
|
||||
list_filter = ['branch']
|
||||
Reference in New Issue
Block a user