2👍
✅
Your pattern is trying to match an extra /
, since your include url requires a trailing slash, and your tag
url is trying to match a leading slash.
You should remove either one to make it work:
# tag url in blog/urls.py
url(r'^tag/(?P<tag_text>\w+)/$', views.tag, name='tag'),
# include in project/urls.py
url(r'^blog/', include('blog.urls')),
Source:stackexchange.com