-
Notifications
You must be signed in to change notification settings - Fork 759
/
urls.py
25 lines (21 loc) · 872 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from django.conf.urls.defaults import patterns, url, include
from django.contrib import admin
from app.views import home, done, logout, error, form, form2
from app.facebook import facebook_view
from app.vkontakte import vkontakte_view
from app.odnoklassniki import ok_app, ok_app_info
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', home, name='home'),
url(r'^done/$', done, name='done'),
url(r'^error/$', error, name='error'),
url(r'^logout/$', logout, name='logout'),
url(r'^form/$', form, name='form'),
url(r'^form2/$', form2, name='form2'),
url(r'^admin/', include(admin.site.urls)),
url(r'^fb/', facebook_view, name='fb_app'),
url(r'^vk/', vkontakte_view, name='vk_app'),
url(r'^ok/$', ok_app, name='ok_app'),
url(r'^ok/info/$', ok_app_info, name='ok_app_info'),
url(r'', include('social_auth.urls')),
)