mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix default api version
This commit is contained in:
parent
0fa9d71da8
commit
247edc89f0
@ -114,7 +114,7 @@ REST_FRAMEWORK = {
|
|||||||
'rest_framework.authentication.TokenAuthentication'
|
'rest_framework.authentication.TokenAuthentication'
|
||||||
],
|
],
|
||||||
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
|
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
|
||||||
'DEFAULT_VERSION': 'v1',
|
'DEFAULT_VERSION': '1',
|
||||||
'ALLOWED_VERSIONS': ['1', '2']
|
'ALLOWED_VERSIONS': ['1', '2']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user