I seem to be getting an error on my success.html page and I can't seem
to track it down. It says that I have an error with a template tag.
TemplateSyntaxError: Invalid block tag: 'endif'
The only thing I changed with the success page is the base page that
success extends from. Here's the traceback...
Traceback (most recent call last):
File "/home/funspongeinc/webapps/django/lib/python2.5/django/core/
handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/views/
decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/funspongeinc/lib/python2.5/Satchmo-0.9_0-py2.5.egg/
payment/views/checkout.py", line 19, in success
return render_to_response('shop/checkout/success.html', context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/
shortcuts/__init__.py", line 20, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader.py", line 108, in render_to_string
return t.render(context_instance)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 178, in render
return self.nodelist.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 779, in render
bits.append(self.render_node(node, context))
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 792, in render_node
return node.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader_tags.py", line 97, in render
return compiled_parent.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 178, in render
return self.nodelist.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 779, in render
bits.append(self.render_node(node, context))
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 792, in render_node
return node.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader_tags.py", line 24, in render
result = self.nodelist.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 779, in render
bits.append(self.render_node(node, context))
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 792, in render_node
return node.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader_tags.py", line 24, in render
result = self.nodelist.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 779, in render
bits.append(self.render_node(node, context))
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 792, in render_node
return node.render(context)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 943, in render
t = get_template(file_name)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader.py", line 82, in get_template
template = get_template_from_string(source, origin, template_name)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
loader.py", line 90, in get_template_from_string
return Template(source, origin, name)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 168, in __init__
self.nodelist = compile_string(template_string, origin)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 189, in compile_string
return parser.parse()
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 283, in parse
self.invalid_block_tag(token, command)
File "/home/funspongeinc/webapps/django/lib/python2.5/django/template/
__init__.py", line 335, in invalid_block_tag
raise self.error(token, "Invalid block tag: '%s'" % command)
TemplateSyntaxError: Invalid block tag: 'endif'
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.