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

Invert key:value

This commit is contained in:
Oliver Walters
2025-11-28 03:27:59 +00:00
parent df1130beab
commit d555658db2

View File

@@ -30,8 +30,8 @@ def get_spectacular_settings():
'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',
'ParameterModelTypeEnum': 'common.models.Parameter.model_type',
'ParameterTemplateModelTypeEnum': 'common.models.ParameterTemplate.model_type',
# Allauth
'UnauthorizedStatus': [[401, 401]],
'IsTrueEnum': [[True, True]],