mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 17:28:11 +00:00
Remove duplicate enum in spectactular.py
This commit is contained in:
@@ -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]],
|
||||||
|
|||||||
Reference in New Issue
Block a user