New api and zone management; highligh occlusion and highlighAll functionality; improved search in reports and alerts history + autofill; refactored alert panel
This commit is contained in:
@@ -76,9 +76,9 @@ class ObjectAdmin(admin.ModelAdmin):
|
||||
|
||||
@admin.register(Zone)
|
||||
class ZoneAdmin(admin.ModelAdmin):
|
||||
list_display = ('object', 'floor', 'name')
|
||||
list_filter = ('object', 'floor')
|
||||
search_fields = ('object__title', 'name')
|
||||
list_display = ('object', 'floor', 'order', 'name', 'image_path', 'model_path')
|
||||
list_filter = ('object', 'floor', 'order')
|
||||
search_fields = ('object__title', 'name', 'image_path', 'model_path')
|
||||
list_per_page = 10
|
||||
list_max_show_all = 100
|
||||
list_display_links = ('object',)
|
||||
Reference in New Issue
Block a user