Hey People,
I'm a Django newbie playing around with Jeff Crofts Lost-theories
code. I get this page displayed error:
Exception Type: TemplateSyntaxError
Exception Value: Invalid filter: 'smartypants'
Exception Location: /home/bward/django/django_src/django/template/
__init__.py in find_filter, line 329
In template /home/bward/django/django_templates/losttheories/blog/
entry_detail.html, error at line 3
1 {% extends "base.html" %}
2 {% block title %}{{ entry.title }}{% endblock%}
3>> {% block content %}
4 {% load markup %}
5 <p class="paginator">
6 {% if theory.get_previous_by_created %}
7 <a href="{{ theory.get_previous_by_created.get_absolute_url }}"
title="{{ theory.get_previous_by_created.title }}">« Previous</a>
8 {% endif %}
9 {% if theory.get_next_by_created %}
10 • <a
href="{{ theory.get_next_by_created.get_absolute_url }}"
title="{{ theory.get_next_by_created.title }}">Next »</a>
11 {% endif %}
12 </p>
13 {% load markup %}
I'm pretty sure i have the latest smartypants.py in my $PYTHONPATH.
Any ideas what am i doing wrong? I did search around for some clues
but had no luck getting a solution.
I don't really understand the error either, because the highlighted
line 3 is a standard template tag no? :
{% block content %}
thanks in advance,
Ben
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---