[Django]-Django NoReverseMatch Exception in django

3👍

Try changing

(r'^$', include('blog.apps.homepage.urls'))

to

(r'', include('blog.apps.homepage.urls'))

The reason is $ sign (used to match end of string) which means that there should not come anything afterwards. But as you are including the urls then $ should not be there.

Leave a comment