mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
fixed the api
This commit is contained in:
parent
61f424e52e
commit
81e695793a
@ -30,8 +30,8 @@ urlpatterns = [
|
|||||||
r"^api/auth/",
|
r"^api/auth/",
|
||||||
include('rest_framework.urls', namespace="rest_framework")
|
include('rest_framework.urls', namespace="rest_framework")
|
||||||
),
|
),
|
||||||
# TODO: this does not work in django 2.0!
|
|
||||||
# url(r"^api/", include(router.urls, namespace="drf")),
|
url(r"^api/", include((router.urls, 'drf'))),
|
||||||
|
|
||||||
# File downloads
|
# File downloads
|
||||||
url(
|
url(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user