-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathurls.py
More file actions
25 lines (20 loc) · 819 Bytes
/
urls.py
File metadata and controls
25 lines (20 loc) · 819 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
from django.conf.urls.defaults import *
from django.views.generic import list_detail
from django.views.generic import simple
#from users.views
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
(r'^user/', include('users.urls')),
(r'^dialplan/', include('dialplan.urls')),
(r'^confs/', include('conference.urls')),
(r'^$',simple.direct_to_template,{'template': 'index.html'}),
# Uncomment the next line to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^bin/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': 'bin/'}),
# Uncomment the next line for to enable the admin:
(r'^admin/(.*)', admin.site.root),
)