Hi, Here what i can see is you have added a prefix in your pattern,
urlpatterns = patterns(*'myapp.views'*, url(r'^login/$','django.contrib.auth.views.login'),) This ideally should be. urlpatterns = patterns(*''*, url(r'^login/$','django.contrib.auth.views.login'),) As the prefix is applied to all the url resolver views which are part of that pattern. https://docs.djangoproject.com/en/dev/topics/http/urls/#the-view-prefix Hope this helped. Regards, //Vikalp On Fri, Mar 9, 2012 at 7:23 AM, Scott Macri <scottma...@gmail.com> wrote: > How am I supposed to configure access to the built in django login and > password forms after changing my urls.py settings? > I've setup the main project urls.py file like so: > url(r'^myapp/',include('myapp.urls')), > > I now have a urls.py file under myapp/urls.py setup similar to the > following: > urlpatterns = patterns('myapp.views', > url(r'^login/$','django.contrib.auth.views.login'),) > > Whenever I try to access the /myapp/login/ page I just get > ViewDoesNotExist blah, blah, blah..... > > I've tried configuring it in a different manner and still get the same > issue. I've created a login.html in registration/login.html in my > template directory, and tried in myapp/registration/login.html, and > still nothing. This is getting frustrating because its supposed to be > saving me time, but has taken more time than writing it myself so far. > > Does anyone have any suggestions as to what I can try to fix this? Thanks. > > -- > Scott > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.