summaryrefslogtreecommitdiffstats
path: root/django_authopenid
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-01-22 01:39:13 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-01-22 01:39:13 +0000
commitd305ad98090558eb872c97f69addd2163f8ba5bd (patch)
tree08472efc2490125d56c6dd3274f4e06fd2db147f /django_authopenid
parentc18bda49f13afb4e2eaaf9ccb35098ee174e3afc (diff)
downloadaskbot-d305ad98090558eb872c97f69addd2163f8ba5bd.tar.gz
askbot-d305ad98090558eb872c97f69addd2163f8ba5bd.tar.bz2
askbot-d305ad98090558eb872c97f69addd2163f8ba5bd.zip
Handle the case were user logs in with facebook for the first time.
Diffstat (limited to 'django_authopenid')
-rwxr-xr-xdjango_authopenid/urls.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django_authopenid/urls.py b/django_authopenid/urls.py
index 6a4e9b0f..9ed621bc 100755
--- a/django_authopenid/urls.py
+++ b/django_authopenid/urls.py
@@ -1,14 +1,12 @@
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url
from django.utils.translation import ugettext as _
-from django.views.generic.simple import direct_to_template
urlpatterns = patterns('django_authopenid.views',
# yadis rdf
url(r'^yadis.xrdf$', 'xrdf', name='yadis_xrdf'),
# manage account registration
url(r'^%s$' % _('signin/'), 'signin', name='user_signin'),
- url(r'^xd_receiver$', direct_to_template, {'template': 'xd_receiver.html'}, name='xd_receiver'),
url(r'^%s%s$' % (_('signin/'),_('newquestion/')), 'signin', kwargs = {'newquestion':True}, name='user_signin_new_question'),
url(r'^%s%s$' % (_('signin/'),_('newanswer/')), 'signin', kwargs = {'newanswer':True}, name='user_signin_new_answer'),
url(r'^%s$' % _('signout/'), 'signout', name='user_signout'),