diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-09 00:57:43 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-09 00:57:43 -0400 |
commit | 5ec0ae6635bc9ece491c23b18507f2a558ce14e5 (patch) | |
tree | 3aa0948fea48310ddae4957547adc1804e13f21a /fbconnect/urls.py | |
parent | 248ceb476de4f5504c1b8a5d0017223889690201 (diff) | |
download | askbot-5ec0ae6635bc9ece491c23b18507f2a558ce14e5.tar.gz askbot-5ec0ae6635bc9ece491c23b18507f2a558ce14e5.tar.bz2 askbot-5ec0ae6635bc9ece491c23b18507f2a558ce14e5.zip |
broken commit. will transfer last bits of settings to livesettings tomorrow
Diffstat (limited to 'fbconnect/urls.py')
-rw-r--r-- | fbconnect/urls.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fbconnect/urls.py b/fbconnect/urls.py index bf2d4364..81b0cb0f 100644 --- a/fbconnect/urls.py +++ b/fbconnect/urls.py @@ -1,13 +1,15 @@ from django.conf.urls.defaults import * from django.utils.translation import ugettext as _ from django.views.generic.simple import direct_to_template -from django.conf import settings from views import signin, register urlpatterns = patterns('', - url(r'^xd_receiver$', direct_to_template, {'template': 'fbconnect/xd_receiver.html',\ - 'extra_context': {'APP_SHORT_NAME':settings.APP_SHORT_NAME}},\ - name='xd_receiver'), + url( + r'^xd_receiver$', + direct_to_template, + {'template': 'fbconnect/xd_receiver.html',}, + name='xd_receiver' + ), url(r'^%s$' % _('signin/'), signin, name="fb_signin"), url(r'^%s%s$' % (_('signin/'), _('newquestion/')), signin, {'newquestion': True}, name="fb_signin_new_question"), |