fixed the api

This commit is contained in:
Jonas Winkler 2018-07-13 11:20:45 +02:00
parent a63880ed19
commit 9e71b70d4b

View File

@ -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(