On Mon, Mar 12, 2012 at 4:04 AM, ajohnston <ajohnston...@gmail.com> wrote:
> 1.
>>
>> Exception Type: ViewDoesNotExist
>> Exception Value:Tried logout_user in module myapp.views. Error was:
>> 'module' object has no attribute 'logout_user'
>
>  2.
>>
>> Here is my current url setting:
>> url(r'^accounts/password_reset/$',
>> 'django.contrib.auth.views.password_reset', name='password_reset'),
>
> 3.
>>
>> It's not even seeing password_reset.  I've even tried importing it and
>> replacting the url with password_reset.
>
> Since you've already written your own password reset code, I guess it's a
> moot point now. But I'm not sure the problem is in your urls.py, given that
> the exception clearly states it's looking in 'myapp.views' for 'logout_user'
> (1). Your urls.py apparently isn't involved in that (2). And 3 sort of
> proves it. Having said that, I don't know what the problem is. The full
> traceback might have more clues. It's up to you if you want to pursue it
> further. Something is clearly messed up somewhere. Regards.
> Alan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/k3BBdjxDKJIJ.
>
> 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.

Did you remember to put those login apps in your settings file under
INSTALLED_APPS  ?

-- 
Joel Goldstick

-- 
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.

Reply via email to