We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master
in project level urls.py
from django.conf.urls import url, include urlpatterns = [ url(r'myapp/', include('myapp.urls')), ]
in myapp/urls.py
from django.conf.urls import url, include from rest_framework import routers from myapp import views router = routers.SimpleRouter() router.register(r'', views.MyAppViewSet) urlpatterns = [ url(r'^', include(router.urls)), ]
Calls to /myapp/ and /myapp/1/ work
/myapp/
/myapp/1/
2 warnings:
and the urls are actually /myapp// and /myapp//1
/myapp//
/myapp//1
failing test cases at #4486
The text was updated successfully, but these errors were encountered:
Closed via #4486
Sorry, something went wrong.
No branches or pull requests
Checklist
master
branch of Django REST framework.Steps to reproduce
in project level urls.py
in myapp/urls.py
Expected behavior
Calls to
/myapp/
and/myapp/1/
workActual behavior
2 warnings:
and the urls are actually
/myapp//
and/myapp//1
failing test cases at #4486
The text was updated successfully, but these errors were encountered: