Mercurial > public > sg101
comparison accounts/urls.py @ 692:4a49d4ac319f
For #51, remove the ajax popup login window.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Sep 2013 15:58:45 -0500 |
parents | 8e6b8ffe5f34 |
children | 95f4e7f352fd |
comparison
equal
deleted
inserted
replaced
691:81e0be69b3a5 | 692:4a49d4ac319f |
---|---|
2 from django.conf.urls import patterns, url | 2 from django.conf.urls import patterns, url |
3 from django.conf import settings | 3 from django.conf import settings |
4 from django.views.generic import TemplateView | 4 from django.views.generic import TemplateView |
5 | 5 |
6 urlpatterns = patterns('accounts.views', | 6 urlpatterns = patterns('accounts.views', |
7 url(r'^login/ajax/$', 'login_ajax', name='accounts-login_ajax'), | |
8 url(r'^register/$', 'register', name='accounts-register'), | 7 url(r'^register/$', 'register', name='accounts-register'), |
9 (r'^register/thanks/$', 'register_thanks'), | 8 (r'^register/thanks/$', 'register_thanks'), |
10 (r'^register/confirm/(?P<username>[\w.@+-]{1,30})/(?P<key>[a-zA-Z0-9]{20})/$', 'register_confirm'), | 9 (r'^register/confirm/(?P<username>[\w.@+-]{1,30})/(?P<key>[a-zA-Z0-9]{20})/$', 'register_confirm'), |
11 ) | 10 ) |
12 | 11 |