1👍
✅
This:
url(r'^/$' ,'main.views.promptLogin' , name="home")
corresponds to http://foo.com//
because Django adds a /
to the end of foo.com
by default.
What you probably want is:
url(r'^$' ,'main.views.promptLogin' , name="home")
which corresponds to
http://foo.com/
Source:stackexchange.com