Skip to content

Commit

Permalink
Merge pull request django-cms#223 from nephila/issue_190_b
Browse files Browse the repository at this point in the history
Fixed admin assets path on django < 1.4
  • Loading branch information
stefanfoulis committed Jul 13, 2012
2 parents eb0723b + 2bf3bd0 commit 92328ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filer/templatetags/filer_admin_tags.py
Expand Up @@ -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
Expand Down

0 comments on commit 92328ce

Please sign in to comment.