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:
iv_vuytsik
2025-12-25 03:10:21 +03:00
parent 31030f2997
commit ce7e39debf
36 changed files with 1562 additions and 472 deletions

View File

@@ -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',)