diff options
Diffstat (limited to 'fbconnect/urls.py')
-rwxr-xr-x | fbconnect/urls.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fbconnect/urls.py b/fbconnect/urls.py new file mode 100755 index 00000000..e4048151 --- /dev/null +++ b/fbconnect/urls.py @@ -0,0 +1,11 @@ +from django.conf.urls.defaults import * +from django.utils.translation import ugettext as _ +from django.views.generic.simple import direct_to_template +from views import signin, register + +urlpatterns = patterns('', + 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' % _('register/'), register, name="fb_user_register"), + +) |