mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-14 08:19:54 +00:00
Invert key:value
This commit is contained in:
@@ -30,8 +30,8 @@ def get_spectacular_settings():
|
|||||||
'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices',
|
'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices',
|
||||||
'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices',
|
'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices',
|
||||||
# Deconflict fields which use model_type ContentType fields
|
# Deconflict fields which use model_type ContentType fields
|
||||||
'common.models.Parameter.model_type': 'ParameterModelTypeEnum',
|
'ParameterModelTypeEnum': 'common.models.Parameter.model_type',
|
||||||
'common.models.ParameterTemplate.model_type': 'ParameterTemplateModelTypeEnum',
|
'ParameterTemplateModelTypeEnum': 'common.models.ParameterTemplate.model_type',
|
||||||
# Allauth
|
# Allauth
|
||||||
'UnauthorizedStatus': [[401, 401]],
|
'UnauthorizedStatus': [[401, 401]],
|
||||||
'IsTrueEnum': [[True, True]],
|
'IsTrueEnum': [[True, True]],
|
||||||
|
|||||||
Reference in New Issue
Block a user