Deconflict model_type fields

This commit is contained in:
Oliver Walters 2025-11-28 03:03:18 +00:00
parent ff442de909
commit 87cea98341
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ def get_spectacular_settings():
'TemplateModelTypeEnum': 'report.models.ReportTemplateBase.ModelChoices',
'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices',
'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices',
# Deconflict fields which use model_type ContentType fields
'common.models.Parameter.model_type': 'ParameterModelTypeEnum',
'common.models.ParameterTemplate.model_type': 'ParameterTemplateModelTypeEnum',
# Allauth
'UnauthorizedStatus': [[401, 401]],
'IsTrueEnum': [[True, True]],