Pull requests

#75 Declined
Repository
ubernostrum
Branch
default

auth_urls.py edited online with Bitbucket due to password_reset_confirm() got an unexpected keyword argument 'uidb36'

Author
  1. Adil Burak KILIC
Reviewers
Description

auth_urls.py edited online with Bitbucket due to password_reset_confirm() got an unexpected keyword argument 'uidb36'

  • Learn about pull requests

Comments (2)

  1. suhail vs

    For example this line in urls.py in Django 1.5-:

    url(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
        'django.contrib.auth.views.password_reset_confirm',
        name='password_reset_confirm'),
    

    Will need to be changed to this in Django 1.6+:

    url(r'^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>.+)/$',
        'django.contrib.auth.views.password_reset_confirm',
        name='password_reset_confirm'),