Files
modoboa/modoboa/core/dev_settings.py
T
Jérôme Lebleu e0c7305149 Bump djangorestframework to 3.11 and move to OpenAPI
See: https://www.django-rest-framework.org/community/3.10-announcement/

CoreAPI is being deprecated and since 3.10, settings must be modified to
keep using CoreAPI schemas. This is especially required for the
documentation generation.

To prevent settings modification while upgrading Modoboa and to follow
the standard for modeling Web APIs, CoreAPI is removed. Instead, OpenAPI
is used to generate the schema and Swagger UI is used to render the
documentation as described here:

  https://www.django-rest-framework.org/topics/documenting-your-api/
2020-01-13 09:55:17 +01:00

20 lines
359 B
Python

# Development settings
import os
BOWER_COMPONENTS_ROOT = os.path.join(
os.path.dirname(__file__), ".."
)
BOWER_INSTALLED_APPS = (
"jquery#1.9",
"jquery-ui#1.11",
"bootstrap#3.3.7",
"d3#3.5.0",
"eonasdan-bootstrap-datetimepicker#4.17.47",
"font-awesome#4.7.0",
"c3#0.4.10",
"selectize#0.12.4",
"swagger-ui#3.24.3",
)