Django NoReverseMatch Django NoReverseMatch django django

Django NoReverseMatch


The problem is in the way you include the auth URLs in the main one. Because you use both ^ and $, only the empty string matches. Drop the $.