Closed Bug 654784 Opened 14 years ago Closed 14 years ago

TypeError: 'Media' object is not callable @ /z/en-US/admin/models/blocklist/blocklistitem/

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: jbalogh)

References

()

Details

steps to reproduce: 1. Load https://addons.allizom.org/z/en-US/admin/models/blocklist/blocklistitem/ traceback details: Traceback (most recent call last): File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 136, in get_response response.render() File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/response.py", line 96, in render self._set_content(self.rendered_content) File "/data/amo_python/www/preview/zamboni/apps/zadmin/__init__.py", line 38, in rendered_content return jingo.render_to_string(request, template, self.context_data) File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 94, in render_to_string return template.render(**get_context()) File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "<template>", line 1, in top-level template code File "/data/amo_python/www/preview/zamboni/apps/zadmin/templates/admin/base.html", line 1, in top-level template code {% extends "base.html" %} File "/data/amo_python/www/preview/zamboni/templates/base.html", line 21, in top-level template code {% block site_css %} File "/data/amo_python/www/preview/zamboni/templates/base.html", line 23, in block "site_css" <!--[if IE]><link rel="stylesheet" href="{{ media('css/legacy/ie.css') }}"><![endif]--> TypeError: 'Media' object is not callable
Assignee: nobody → jbalogh
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.