Environment:
Request Method: GET
Request URL: http://localhost:8000/classifieds/create/edit/4/
Django Version: 1.3.1
Python Version: 2.7.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'classifieds',
'paypal.standard.ipn',
'registration',
'profiles',
'django.contrib.humanize',
'south']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Template error:
In template /Users/joemartaganna/Desktop/librepost/classifieds/templates/classifieds/edit.html, error at line 2
'thumbnail' is not a valid tag library: Template library thumbnail not found, tried django.templatetags.thumbnail,django.contrib.admin.templatetags.thumbnail,classifieds.templatetags.thumbnail,django.contrib.humanize.templatetags.thumbnail
1 : {% extends "base.html" %}
2 : {% load i18n classifieds thumbnail %}
3 :
4 : {% block head %}
5 : {{ form.media|safe }}
6 : {% endblock %}
7 :
8 : {% block sidebar %}
9 :
12 :
Welcome, {{ user.first_name }}
Traceback:
File "/pyenv/librepost/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
-
response = callback(request, _callback_args, *_callback_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/views/generic/base.py" in view
-
return self.dispatch(request, _args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
-
return bound_func(_args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
-
return view_func(request, _args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
-
return func(self, _args2, *_kwargs2)
File "/Users/joemartaganna/Desktop/librepost/classifieds/views/init.py" in dispatch
-
return super(AdEditView, self).dispatch(request, _args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
-
return handler(request, _args, *_kwargs)
File "/Users/joemartaganna/Desktop/librepost/classifieds/views/init.py" in get
-
return super(AdEditView, self).get(request, _args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/views/generic/edit.py" in get
-
return super(BaseUpdateView, self).get(request, _args, *_kwargs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/views/generic/edit.py" in get
-
return self.render_to_response(self.get_context_data(form=form))
File "/Users/joemartaganna/Desktop/librepost/classifieds/views/init.py" in render_to_response
-
File "/Users/joemartaganna/Desktop/librepost/classifieds/utils.py" in render_category_page
-
return HttpResponse(template.render(context))
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in render
-
return self._render(context)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in _render
-
return self.nodelist.render(context)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in render
-
bits.append(self.render_node(node, context))
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/debug.py" in render_node
-
result = node.render(context)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader_tags.py" in render
-
compiled_parent = self.get_parent(context)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader_tags.py" in get_parent
-
return get_template(parent)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader.py" in get_template
-
template, origin = find_template(template_name)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader.py" in find_template
-
source, display_name = loader(name, dirs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader.py" in call
-
return self.load_template(template_name, template_dirs)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader.py" in load_template
-
template = get_template_from_string(source, origin, template_name)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader.py" in get_template_from_string
-
return Template(source, origin, name)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in init
-
self.nodelist = compile_string(template_string, origin)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in compile_string
-
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in parse
-
compiled_result = compile_func(self, token)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/loader_tags.py" in do_extends
-
nodelist = parser.parse()
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/base.py" in parse
-
compiled_result = compile_func(self, token)
File "/pyenv/librepost/lib/python2.7/site-packages/django/template/defaulttags.py" in load
-
Exception Type: TemplateSyntaxError at /classifieds/create/edit/4/
Exception Value: 'thumbnail' is not a valid tag library: Template library thumbnail not found, tried django.templatetags.thumbnail,django.contrib.admin.templatetags.thumbnail,classifieds.templatetags.thumbnail,django.contrib.humanize.templatetags.thumbnail