From 28095ac397a95c30b0d5d3360786fe10ea1d7ac0 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 23 Nov 2013 08:16:52 -0500 Subject: [PATCH] Changes to serve static admin files for Django 1.5.4 --- gramps/webapp/urls.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gramps/webapp/urls.py b/gramps/webapp/urls.py index 2f3c65c0a..7e599cb07 100644 --- a/gramps/webapp/urls.py +++ b/gramps/webapp/urls.py @@ -57,6 +57,12 @@ urlpatterns += patterns('', {'document_root': IMAGE_DIR, 'show_indexes': True}, ), + # Django 1.5.4 + (r'^static/(?P.*)$', 'django.views.static.serve', + {'document_root': '/usr/share/pyshared/django/contrib/admin/static/', + 'show_indexes': True}, + ), + # Django 1.5.4 ) # The rest will match views: