-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
38 lines (33 loc) · 1.97 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
from django.conf.urls.defaults import *
from historilator.views import xd_receiver
import os
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
# Example:
(r'^$', 'LocationIntegration.historilator.views.start'),
(r'^LocationIntegration/', 'LocationIntegration.historilator.views.index'),
(r'^register/', 'LocationIntegration.historilator.views.register'),
(r'^getFriends/', 'LocationIntegration.historilator.views.getFriends'),
(r'^getMyCheckins/', 'LocationIntegration.historilator.views.getMyCheckins'),
(r'^getMyTrips/', 'LocationIntegration.historilator.views.getMyTrips'),
(r'^getUser/', 'LocationIntegration.historilator.views.getUser'),
(r'^fb_connect/', 'LocationIntegration.historilator.views.fb_connect'),
(r'^login/', 'django.views.generic.simple.direct_to_template', {'template':'login.html'}),
(r'^logout_user/', 'LocationIntegration.historilator.views.logout_user'),
(r'^addServices/', 'LocationIntegration.historilator.views.addServices'),
(r'^auth/', 'LocationIntegration.historilator.views.auth'),
(r'^test/', 'LocationIntegration.historilator.views.test'),
(r'^templates/xd_receiver\.html$', xd_receiver),
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.getcwd()+'/site_media'}),
(r'^twitterlogin/$', 'LocationIntegration.twitterclient.views.twitterlogin'),
(r'^twitter/$', 'LocationIntegration.twitterclient.views.twitter'),
(r'^twittertag/$', 'LocationIntegration.twitterclient.views.twittertag'),
(r'^twittertag/user/(?P<twitter_id>[\d\w]+)/$', 'LocationIntegration.twitterclient.views.userprofile'),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
# (r'^admin/', include(admin.site.urls)),
)