diff options
-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: |