-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathurls.py
More file actions
27 lines (21 loc) · 931 Bytes
/
urls.py
File metadata and controls
27 lines (21 loc) · 931 Bytes
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
from django.conf.urls.defaults import *
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'demo/', 'meetit.meetit.views.demo', name='demo'),
url(r'events/', 'meetit.meetit.views.events', name='events'),
url(r'confirm/','meetit.meetit.views.confirm', name='confirm'),
url(r'email/', 'meetit.meetit.views.email', name='email'),
url(r'journeys/', 'meetit.meetit.views.journeys', name='journeys'),
url(r'signup/', 'meetit.meetit.views.signup', name='signup'),
url(r'^$', 'meetit.meetit.views.home', name='home'),
url(r'^admin/', include(admin.site.urls)),
)
if settings.LOCAL_DEVELOPMENT:
urlpatterns += patterns("django.views",
url(r'%s(?P<path>.*)/$' % settings.MEDIA_URL[1:], 'static.serve', {
"document_root": settings.MEDIA_ROOT,
})
)