Re: urls.py and login forms
On Fri, Mar 9, 2012 at 2:11 PM, Scott Macri <scottmacri@gmail.com> wrote:
> Ok, I got my app working with your suggestion. I replaced all my
> calls with myapp.views.name and all my views work.
>
> However, I still get an error accessing login. Yes, I've installed it
> in my settings.py.
>
> Request Method: GET
> Request URL: http://localhost:8000/hcp/login/
> Django Version: 1.3.1
> Exception Type: ViewDoesNotExist
> Exception Value:
> Tried views in module django.contrib.auth. Error was:
> 'django.contrib.auth.views' is not a callable.
Check/show your urls.py. Somewhere you are telling django to serve
django.contrib.auth.views, which is a module, not a callable, as the
exception states.
Cheers
Tom
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home