Deepwalker / fs2web

Django based tool for work with FreeSWITCH PBX

This URL has Read+Write access

Deepwalker (author)
Sat Oct 10 08:09:14 -0700 2009
commit  a8807ae30d02d4a11e47fdbf9a9948a1bea8c1d4
tree    5cdbac61a3dfa42777d976309391fe810153afab
parent  7e4da3d35719621701664b13b24ad288b4b094af
fs2web / urls.py
100644 26 lines (20 sloc) 0.819 kb
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.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),
)