Permalink
Browse files

Merge pull request #223 from nephila/issue_190_b

Fixed admin assets path on django < 1.4
  • Loading branch information...
2 parents eb0723b + 2bf3bd0 commit 92328ceabcf7ab0415c5985bfdd3810feac5a937 @stefanfoulis committed Jul 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 filer/templatetags/filer_admin_tags.py
@@ -19,8 +19,8 @@ def filer_actions(context):
# This will go away when django < 1.4 compatibility will be dropped
if LooseVersion(django.get_version()) < LooseVersion('1.4'):
ADMIN_ICON_BASE = "%sadmin/img/admin/" % settings.STATIC_URL
- ADMIN_CSS_BASE = "%sadmin/css/admin/" % settings.STATIC_URL
- ADMIN_JS_BASE = "%sadmin/js/admin/" % settings.STATIC_URL
+ ADMIN_CSS_BASE = "%sadmin/css/" % settings.STATIC_URL
+ ADMIN_JS_BASE = "%sadmin/js/" % settings.STATIC_URL
else:
ADMIN_ICON_BASE = "%sadmin/img/" % settings.STATIC_URL
ADMIN_CSS_BASE = "%sadmin/css/" % settings.STATIC_URL

0 comments on commit 92328ce

Please sign in to comment.