summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-03-09 12:54:44 -0600
committerDan McGee <dan@archlinux.org>2013-03-09 12:54:44 -0600
commit7bf9c6e065731b414e3c1733db3b0de9105259fe (patch)
treed1a2da813da9604bc20e22dbd4dd2baac598ea84 /urls.py
parent7a5b06c3e77b6369bf4c813dfc5a3c547cca2280 (diff)
Remove /jsi18n/ view mapping
We removed the last non-admin usage of this in commit e65c78055474, so it can be removed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index e53d0012..4d9db162 100644
--- a/urls.py
+++ b/urls.py
@@ -4,7 +4,6 @@ from django.contrib.sitemaps import views as sitemap_views
from django.views.decorators.cache import cache_page
from django.views.generic import TemplateView, RedirectView
-from django.views.i18n import null_javascript_catalog
from feeds import PackageFeed, NewsFeed, ReleaseFeed
import sitemaps
@@ -57,7 +56,6 @@ feeds_patterns = patterns('',
# Includes and other remaining stuff
urlpatterns += patterns('',
# cache this static JS resource for 1 week rather than default 5 minutes
- (r'^jsi18n/$', cache_page(604800)(null_javascript_catalog)),
(r'^admin/', include(admin.site.urls)),
(r'^devel/', include('devel.urls')),
(r'^feeds/', include(feeds_patterns)),