-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
28 lines (19 loc) · 903 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
26
27
28
from django.conf import settings
from django.conf.urls.defaults import *
handler500 = 'djangotoolbox.errorviews.server_error'
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^_ah/warmup$', 'djangoappengine.views.warmup'),
# ('^$', 'django.views.generic.simple.direct_to_template', {'template': 'home.html'}),
(r'^admin/', include(admin.site.urls)),
(r'^social/', include('socialregistration.urls')),
(r'^canvas/$', 'facebook.views.canvas'),
(r'^videos/$', 'facebook.views.videos_increment'),
# 960
(r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}),
# media
# (r'^files/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATICFILES_DIRS[0]}),
# testing only
(r'^jw/$', 'django.views.generic.simple.direct_to_template', {'template': 'jwplayer.html'}),
)