diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-23 18:02:14 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-23 18:02:14 (GMT) |
commit | 4590065b6ca9d7698c22277a4da1505486c8b637 (patch) | |
tree | 2a76ad1a0c1cced08fdcf2139f1e12796522b090 /helsinki/urls.py | |
parent | c95ec9e6bea9e076bda3ae66c4b604f399f5ec86 (diff) |
moved things around.
Diffstat (limited to 'helsinki/urls.py')
-rw-r--r-- | helsinki/urls.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/helsinki/urls.py b/helsinki/urls.py deleted file mode 100644 index e55dddc..0000000 --- a/helsinki/urls.py +++ /dev/null @@ -1,19 +0,0 @@ -from django.conf import settings -from django.conf.urls.defaults import * -from django.contrib import admin - -admin.autodiscover() - -from program.views import json_day_schedule -urlpatterns = patterns('', - (r'^admin/', include(admin.site.urls)), - (r'^program/', include('program.urls')), - (r'^nop', include('nop.urls')), - (r'^tinymce/', include('tinymce.urls')), - url(r'^export/day_schedule/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/$', json_day_schedule), -) - -if settings.DEBUG: - urlpatterns += patterns('', - (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}) - ) |