newbie here,
I'm running into a template syntax error where (as far as I can tell)
there shouldn't be one (yes, I've loaded my tags file before I tried
invoking my tag). I'm looking for help on how to debug it. I'm running
Django trunk.
I'm using template inheritance with a custom tag for pagination help.
I currently have "introContent.html" extending a "base.html" file. I
want to use a "pagination_links" tag from my "page_tags.py" tag file
(this example is from the Django e-commerce book)
---------------------------------------------
# In introContent.html
{% extends base.html %}
{% block content %}
{% load page_tags %}
{% pagination_links request paginator %}
{% endblock %}
---------------------------------------------
When I run this i get the error "expected 'endblock' or 'endblock
content".
I'm sure this error can mean multiple things.
Is there anyway this error could be thrown by invalid syntax within
the pagination_links.html that the pagination_links tag registers?
I think the most useful help could possibly talk about debugging
methods they use (i'm working remotely) as well as areas where this
Template Syntax Error is known to be thrown
--
You received this message because you are subscribed to the Google Groups
"Django 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/django-users?hl=en.