[Fixed]-Mapping URLs to Site Root with Django

1👍

Your url pattern is matching an empty string:

url(r'^$', include('misc.urls')),

^ matches the beginning of a string, and $ matches the end, so only completely empty strings will work. As Dima points out in the comments, remove the $ and it will work.

Leave a comment