diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-08 21:06:47 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-08 21:06:47 -0600 |
commit | 964d89e11651a48e8c18c96d011ed5d9a9d97628 (patch) | |
tree | cef6d930a2ca4c7563155ffe1b494985293d93a8 | |
parent | 8c077a4caa73c7e4a5e148195f1d6d3cdae572cf (diff) |
Move /jsi18n/ back out of /admin/ apprelease_2010-02-08
This way we can skip the redirect to HTTPS on the real site that is not
necessary by any means, and it works out for the best.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/packages/search.html | 2 | ||||
-rw-r--r-- | urls.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html index 61d13bd7..e760788e 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -3,7 +3,7 @@ {% block title %}Arch Linux - Package Search{% endblock %} {% block head %} <link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" /> -<script type="text/javascript" src="/admin/jsi18n/"></script> +<script type="text/javascript" src="/jsi18n/"></script> <script type="text/javascript" src="/media/admin_media/js/core.js"></script> {{search_form.media}} {% endblock %} @@ -109,6 +109,9 @@ urlpatterns = patterns('', (r'^moreforums/$', 'archweb.public.views.moreforums'), (r'^projects/$', 'archweb.public.views.projects'), (r'^opensearch/packages/$', 'archweb.packages.views.opensearch'), + +# Some django internals we use + (r'^jsi18n/$', 'django.views.i18n.null_javascript_catalog'), ) if settings.DEBUG == True: |