Tuesday, September 2, 2014

Re: runserver error


    (r'^resetpassword/passwordsent/$',django.contrib.auth.views.password_reset_done),
    (r'^resetpassword/$',django.contrib.auth.views.password_reset),
    #(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$','django.contrib.auth.views.password_reset_confirm'),
    url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
    django.contrib.auth.views.password_reset_confirm),
    (r'^reset/done/$',django.contrib.auth.views.password_reset_complete),

 this is what i GAVE


On Wed, Sep 3, 2014 at 2:14 AM, Collin Anderson <cmawebsite@gmail.com> wrote:
don't use quotes in your url conf:

from whatever import password_reset

url
(r'^reset_password/$', password_reset),

# not this
url
(r'^reset_password/$', "password_reset"),

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/Si2Vm9BZ2Jo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/adddcf9f-6dbf-46c1-abd7-6fa84b113404%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFL1zAsGB6GWV73KJHpqt39egrsf6UFEW0u8w34XJ3QpFMNnhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment