diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 19:16:13 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 19:16:13 -0500 |
commit | cdfa6c1195bb6feb812bffc981183f0758ca5e2f (patch) | |
tree | d06b43424ad16f905fac7f2af54fec3fbc428e5f /retro/views.py | |
parent | 4b700666e3405b8dc1891dd7e156b233333c7912 (diff) | |
parent | fd1c992472ea259111a2f4930b73a805c07ee068 (diff) |
Merge tag 'release_2012-03-25'
Django 1.4 upgrade and a bunch of other stuff
Diffstat (limited to 'retro/views.py')
-rw-r--r-- | retro/views.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/retro/views.py b/retro/views.py index 5ce6d19d..3bc59e9f 100644 --- a/retro/views.py +++ b/retro/views.py @@ -1,4 +1,3 @@ -from django.conf import settings from django.http import Http404 from django.views.decorators.cache import cache_page from django.views.generic.simple import direct_to_template @@ -24,9 +23,8 @@ def retro_homepage(request, year): template = RETRO_YEAR_MAP.get(year, None) if template is None: raise Http404 - static_url = '%s%d/' % (settings.STATIC_URL, year) context = { - 'RETRO_STATIC_URL': static_url, + 'year': year, } return direct_to_template(request, 'retro/%s' % template, context) |