django v2 compatible: tests needed

This commit is contained in:
dadosch
2018-08-24 21:31:43 +02:00
parent 511f0e157d
commit 218e43fdf8
5 changed files with 64 additions and 58 deletions

View File

@@ -28,9 +28,9 @@ urlpatterns = [
# API
url(
r"^api/auth/",
include('rest_framework.urls', namespace="rest_framework")
include(('rest_framework.urls','rest_framework'), namespace="rest_framework")
),
url(r"^api/", include(router.urls, namespace="drf")),
url(r"^api/", include((router.urls, 'drf'), namespace="drf")),
# File downloads
url(