comparison gpp/accounts/urls.py @ 500:886cc99e8406

For #240, add an "ajaxy" login via a jQuery UI pop-up dialog to streamline the login process.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Dec 2011 02:48:18 +0000
parents 0dd8989abef2
children ddd69a8e07c7
comparison
equal deleted inserted replaced
499:1a09a7bea000 500:886cc99e8406
1 """urls for the accounts application""" 1 """urls for the accounts application"""
2 from django.conf.urls.defaults import * 2 from django.conf.urls.defaults import *
3 from django.conf import settings 3 from django.conf import settings
4 4
5 urlpatterns = patterns('accounts.views', 5 urlpatterns = patterns('accounts.views',
6 url(r'^login/ajax/$', 'login_ajax', name='accounts-login_ajax'),
6 url(r'^register/$', 'register', name='accounts-register'), 7 url(r'^register/$', 'register', name='accounts-register'),
7 (r'^register/thanks/$', 'register_thanks'), 8 (r'^register/thanks/$', 'register_thanks'),
8 (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'),
9 ) 10 )
10 11