summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/urls.py
blob: 85bad72fb7a6eb9ba5b5d724fa2420c241f4d52b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from django.conf.urls.defaults import *
from django.http import HttpResponsePermanentRedirect

handler500 = 'Bcfg2.Server.Reports.reports.views.server_error'

#from ConfigParser import ConfigParser, NoSectionError, NoOptionError
#c = ConfigParser()
#c.read(['/etc/bcfg2.conf', '/etc/bcfg2-web.conf'])

urlpatterns = patterns('',
    (r'^', include('Bcfg2.Server.Reports.reports.urls'))
)

#urlpatterns += patterns("django.views",
#    url(r"media/(?P<path>.*)$", "static.serve", {
#      "document_root": '/Users/tlaszlo/svn/bcfg2/reports/site_media/',
#    })
#)