> > urls.py > > from django.conf.urls import url, include > from django.contrib import admin > from account import views > from django.core.urlresolvers import reverse > > app_name = 'account' > > urlpatterns = [ > #url(r'^admin/', admin.site.urls), > url(r'^$', views.login, name='login' ), > url(r'^login/$', views.login, name='login'), > url(r'^forgotPassword/$', views.forgotPassword, name='forgotPassword'), > url(r'^resetPasswordSendMail/$', views.resetPasswordSendMail, name='resetPasswordSendMail'), > ] >
You have two URL's named 'login', that will cause problems later if it isn't already. Is this your root urls.py file (in the same directory as your settings.py file)? I'm not sure you can set an app_name in that file. I believe that is designated for use within an app urls.py (appname/urls.py) that is read as part of include() from the root urls.py. I'm not in front of a computer to check, so I don't know if that's the case, and I may be incorrect. -James -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciWqnN%3DqxCdfpcQBgCL8zcj0Trnimit93wpzf03d7zY0iQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.