Updated to Django 2

This commit is contained in:
Jonas Winkler
2018-07-04 17:03:59 +02:00
parent f3654310bd
commit 8f6231bd34
7 changed files with 16 additions and 13 deletions

3
src/paperless/urls.py Normal file → Executable file
View File

@@ -30,7 +30,8 @@ urlpatterns = [
r"^api/auth/",
include('rest_framework.urls', namespace="rest_framework")
),
url(r"^api/", include(router.urls, namespace="drf")),
# TODO: this does not work in django 2.0!
# url(r"^api/", include(router.urls, namespace="drf")),
# File downloads
url(