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.*)$", "static.serve", { # "document_root": '/Users/tlaszlo/svn/bcfg2/reports/site_media/', # }) #)