Argus icon indicating copy to clipboard operation
Argus copied to clipboard

Fix warning about not being able to resolve "tags" when visting the autogenerated OpenAPI

Open hmpf opened this issue 1 year ago • 0 comments

See also #897

  • src/argus/filter/filters.py: Warning [IncidentViewSet > IncidentFilter]: Exception raised while trying resolve model field for django-filter field "tags". Defaulting to string (Exception: 'tags')
  • src/argus/filter/filters.py: Warning [SourceLockedIncidentViewSet > SourceLockedIncidentFilter]: Exception raised while trying resolve model field for django-filter field "tags". Defaulting to string (Exception: 'tags')
  • src/argus/filter/filters.py: Warning [IncidentViewSetV1 > IncidentFilter]: Exception raised while trying resolve model field for django-filter field "tags". Defaulting to string (Exception: 'tags')
  • src/argus/filter/filters.py: Warning [SourceLockedIncidentViewSetV1 > SourceLockedIncidentFilter]: Exception raised while trying resolve model field for django-filter field "tags". Defaulting to string (Exception: 'tags')

I'm thinking fixing one of the above will yield the solution for all four.

hmpf avatar Oct 09 '24 12:10 hmpf