start adding new ninja-based OpenAPI-compatible API v2, starting with mesh
This commit is contained in:
parent
0b6362c8ab
commit
f5c33724dc
9 changed files with 101 additions and 4 deletions
|
@ -248,6 +248,7 @@ INSTALLED_APPS = [
|
|||
'channels',
|
||||
'compressor',
|
||||
'bootstrap3',
|
||||
'ninja',
|
||||
'c3nav.api',
|
||||
'rest_framework',
|
||||
'c3nav.mapdata',
|
||||
|
@ -329,6 +330,8 @@ REST_FRAMEWORK = {
|
|||
)
|
||||
}
|
||||
|
||||
NINJA_PAGINATION_CLASS = "ninja.pagination.LimitOffsetPagination"
|
||||
|
||||
LOCALE_PATHS = (
|
||||
PROJECT_DIR / 'locale',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue