mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fixed the api
This commit is contained in:
parent
a63880ed19
commit
9e71b70d4b
@ -30,8 +30,8 @@ urlpatterns = [
|
||||
r"^api/auth/",
|
||||
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
|
||||
url(
|
||||
|
Loading…
x
Reference in New Issue
Block a user