summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-07-03 09:23:14 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-07-03 09:23:14 (GMT)
commitd50d344dfe0d994ff0ca2a58226aabccbb0eaeb6 (patch)
tree5ffd97b310dbb30e3c6e3a2913cc5d109290ac8a /program
parent35e740a416605d3dbe6733ca7dc6497225eb5f58 (diff)
site_media is served by Apache.
Diffstat (limited to 'program')
-rw-r--r--program/urls.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/urls.py b/program/urls.py
index 60d81a7..7176382 100644
--- a/program/urls.py
+++ b/program/urls.py
@@ -5,9 +5,6 @@ from django.views.generic.list_detail import object_detail, object_list
from models import Host, Show, TimeSlot
from views import current_show, day_schedule, recommendations, show_list, week_schedule
-import os
-PROGRAM_STATIC_DIR = os.path.join(os.path.dirname(__file__), '../site_media')
-
hosts_dict = {
'queryset': Host.objects.all(),
'template_object_name': 'host'
@@ -35,5 +32,4 @@ urlpatterns = patterns('',
url(r'^shows/(?P<slug>[\w-]+)/?$', object_detail, shows_dict, name='show-detail'),
url(r'^(?P<object_id>\d+)/?$', object_detail, timeslots_dict, name='timeslot-detail'),
url(r'^week/?$', week_schedule),
- url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': PROGRAM_STATIC_DIR}),
)