2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 09:18:10 +00:00

Remove duplicate enum in spectactular.py

This commit is contained in:
Oliver Walters
2025-12-02 07:13:48 +00:00
parent 89b4e83c49
commit a4dbf2dd50

View File

@@ -29,7 +29,6 @@ def get_spectacular_settings():
'TemplateModelTypeEnum': 'report.models.ReportTemplateBase.ModelChoices', 'TemplateModelTypeEnum': 'report.models.ReportTemplateBase.ModelChoices',
'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices', 'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices',
'ParameterModelTypeEnum': 'common.models.Parameter.ModelChoices', 'ParameterModelTypeEnum': 'common.models.Parameter.ModelChoices',
'ParameterTemplateModelTypeEnum': 'common.models.ParameterTemplate.ModelChoices',
'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices', 'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices',
# Allauth # Allauth
'UnauthorizedStatus': [[401, 401]], 'UnauthorizedStatus': [[401, 401]],