Imported to main repo

This commit is contained in:
Spitap
2022-12-05 16:57:38 +01:00
parent e6d9833012
commit 39af0485f8
19 changed files with 892 additions and 13 deletions
+4
View File
@@ -147,6 +147,7 @@ TEMPLATES = [
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'modoboa.core.context_processors.top_notifications',
'modoboa.core.context_processors.new_admin_url'
],
'debug': DEBUG,
},
@@ -194,6 +195,9 @@ REST_FRAMEWORK = {
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning',
}
# Uncomment if you need a custom sub url for new_admin interface
# NEW_ADMIN_URL = 'new_admin'
SPECTACULAR_SETTINGS = {
'SCHEMA_PATH_PREFIX': r'/api/v[0-9]',
'TITLE': 'Modoboa API',