diff 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
line wrap: on
line diff
--- a/gpp/accounts/urls.py	Wed Nov 30 02:41:18 2011 +0000
+++ b/gpp/accounts/urls.py	Sat Dec 03 02:48:18 2011 +0000
@@ -3,6 +3,7 @@
 from django.conf import settings
 
 urlpatterns = patterns('accounts.views',
+    url(r'^login/ajax/$', 'login_ajax', name='accounts-login_ajax'),
     url(r'^register/$', 'register', name='accounts-register'),
     (r'^register/thanks/$', 'register_thanks'),
     (r'^register/confirm/(?P<username>[\w.@+-]{1,30})/(?P<key>[a-zA-Z0-9]{20})/$', 'register_confirm'),