Mercurial > public > sg101
annotate antispam/urls.py @ 752:95f4e7f352fd
For Django 1.6: contrib auth password reset confirm view signature changed.
The uidb64 parameter was previously base 36 encoded and named uidb36.
Had to update urls.py. While I was in there I decided to make the
password reset email use the {% url %} tag to be more resilient if the
url changes.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 01 Jan 2014 19:52:07 -0600 |
parents | ee87ea74d46b |
children | 5ba2508939f7 |
rev | line source |
---|---|
bgneal@215 | 1 """URLs for the antispam application.""" |
bgneal@574 | 2 from django.conf.urls import patterns, url |
bgneal@215 | 3 |
bgneal@215 | 4 urlpatterns = patterns('antispam.views', |
bgneal@215 | 5 url(r'^suspended/$', 'suspended', name='antispam-suspended'), |
bgneal@215 | 6 ) |