Strange.  The same issue occurs with the password_reset view as well.

On Sat, Mar 10, 2012 at 5:05 PM, Scott Macri <[email protected]> wrote:
> That's exactly what I was thinking.  So I changed
> 'django.contrib.auth.views.change_password' to
> 'django.contrib.auth.views.bullfrog' in the urlconf.  It renders a
> completely different error.  Something to the effect of bullfrog not
> existing.
>
> On Sat, Mar 10, 2012 at 3:12 PM, Bill Freeman <[email protected]> wrote:
>> I would expect ViewDoesNotExist to not be sensitive to the template.  It
>> sounds like the urlconf is specifying a view function that does not exist
>> (at least in the way and in the place that it is specified).
>>
>> On Sat, Mar 10, 2012 at 3:07 PM, Scott Macri <[email protected]> wrote:
>>> Even explicitly setting the template name causes a ViewDoesNotExist
>>> error to occur.
>>> url(r'^accounts/password/change/$',
>>> 'django.contrib.auth.views.password_change',{'template_name':'registration/password_change_form.html',}),
>>>
>>> Anyone have any ideas?  Thanks.
>>>
>>> On Fri, Mar 9, 2012 at 1:32 PM, Scott Macri <[email protected]> wrote:
>>>> Being new to django I am having trouble getting the built in views to
>>>> work.  After several hours I finally got the login/logout views to
>>>> work, now I am not able to get the profile, or any other built in
>>>> views working.  I am attempting to configure the change_password view.
>>>>
>>>> I have a custom urls.py file in myapp directory.  The main url points
>>>> to the one in myapp.  I don't have any trouble getting any of my own
>>>> custom views working.  However, when I try to access the change
>>>> password view I keep getting a view does not exist.  I'm not sure why
>>>> this is happening.
>>>>
>>>> Here is what I have:
>>>> main urls.py
>>>> urlpatterns = patterns('',
>>>>    url(r'^myapp/',include('myapp.urls')),
>>>> )
>>>>
>>>> In the myapp folder in urls.py I have a bunch of views like this:
>>>> urlpatterns = patterns('',
>>>>        url(r'^accounts/login/$',  'django.contrib.auth.views.login'),
>>>>        url(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
>>>>        url(r'^accounts/out/in/$', 
>>>> 'django.contrib.auth.views.logout_then_login'),
>>>>        url(r'^accounts/password/change/$',
>>>> 'django.contrib.auth.views.password_change'),
>>>>        url(r'^index/?','hcp.views.index'),
>>>> )
>>>>
>>>> Attempting to access the following link works perfectly:
>>>> http://localhost:8000/myapp/accounts/login/?next=/myapp/home
>>>>
>>>> However, attempting to access any of the other built-in-views, such as:
>>>> http://localhost:8000/myapp/accounts/password/change/
>>>>
>>>> renders a ViewDoesNotExist error when logged in as the user.......
>>>>
>>>> I've followed the directions on the django site and created the
>>>> registration/password_change_form.html file in my templates directory
>>>> right next to my login.html file.
>>>>
>>>> I'm not sure what I can do, I've been struggling with getting these
>>>> views to work for most of the day again today.
>>>>
>>>> When I try to access the logout_then_login via the following link:
>>>> http://localhost:8000/myapp/accounts/out/in
>>>>
>>>> everything works perfectly.
>>>>
>>>> What could be some possible issues causing this problem?  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 [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> 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 [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Scott A. Macri
> www.ScottMacri.com
> (571) 234-1581



-- 
Scott A. Macri
www.ScottMacri.com
(571) 234-1581

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to