mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Imported to main repo
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user