2👍
✅
You get this error because you have defined like this:
url(r'^$',include('homepage.urls')),
and it should be:
url(r'^',include('homepage.urls')),
When you use $
you are telling that the regex ends there. That should fix your problem.
Source:stackexchange.com