Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixed the api

Jonas Winkler9e71b70d4bb4
diff --git a/src/paperless/urls.py b/src/paperless/urls.py
index 59cbd86b5..6f50ac644 100755
--- a/src/paperless/urls.py
+++ b/src/paperless/urls.py
@@ -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(