Permalink
Browse files

On django 1.3.1 custom_admin_media_prefix tag return function (as cal…

…lable object):


<link rel="stylesheet" type="text/css" href="<function admin_media_prefix at 0x8a5d3e4>css/changelists.css" />
  • Loading branch information...
shavrin-ivan committed Apr 12, 2012
1 parent 3e57e8e commit fd7bfccba0db86cae0810590c146a109aeaa70b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 filebrowser/templatetags/fb_tags.py
@@ -151,5 +151,5 @@ def custom_admin_media_prefix():
from django.contrib.admin.templatetags import admin_media_prefix
except ImportError:
from django.contrib.admin.templatetags.adminmedia import admin_media_prefix
- return admin_media_prefix
+ return admin_media_prefix()

0 comments on commit fd7bfcc

Please sign in to comment.