from django conf urls defaults import from django conf import settings

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^$', 'problematic.views.open_problems'),
(r'^print/$', 'problematic.views.print_me'),
(r'^check/$', 'service.views.check_alert'),
('^admin/(.*)', admin.site.root),
(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)