summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 20:45:14 -0600
committerDan McGee <dan@archlinux.org>2010-01-31 20:45:14 -0600
commitab3b63b5098055d2a11e085e0f804809798a0b77 (patch)
tree1e7a395fe3f95d7891f4f5287db16b7c6d2a00b2
parent7214d3e84a792be73a505e6d13a3ba96512db9da (diff)
Get the calendar widget working
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/packages/search.html3
-rw-r--r--urls.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 23c6b031..61d13bd7 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -2,9 +2,10 @@
{% load package_extras %}
{% 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="/media/admin_media/js/core.js"></script>
{{search_form.media}}
-<script type="text/javascript" src="/jsi18n/"></script>
{% endblock %}
{% block content %}
diff --git a/urls.py b/urls.py
index 89def312..c9ec80c6 100644
--- a/urls.py
+++ b/urls.py
@@ -106,8 +106,6 @@ urlpatterns = patterns('',
(r'^irc/$', direct_to_template, {'template': 'public/irc.html'}),
(r'^moreforums/$', 'archweb.public.views.moreforums'),
(r'^projects/$', 'archweb.public.views.projects'),
- ('^jsi18n/$', 'django.views.i18n.null_javascript_catalog',
- {'packages': 'django.conf'}),
)
if settings.DEBUG == True: