I'm having a consistent problem across multiple projects with the self-
documentation and I'm hoping somone here might have an idea what is
wrong and how I might fix it. Thanks in advance for any assistance!

I have tried a couple of different versions of django including the
latest svn release and I consistently get the error:

"filter escape" is not permitted.  Use the "autoescape" tag instead.

Offending Line:
<p>{% filter escape|linebreaksbr %}{% trans description %}{% endfilter
%}</p>

In template /Library/Python/2.5/site-packages/django/contrib/admin/
templates/admin_doc/model_detail.html


Exception Location:
/Library/Python/2.5/site-packages/django/template/defaulttags.py in
do_filter, line 549

Python Executable:
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/
Python.app/Contents/MacOS/Python

Python Version:
2.5.1

Traceback:
File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
in get_response
  86.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
decorators.py" in _checklogin
  33.             return view_func(request, *args, **kwargs)
File "/Library/Python/2.5/site-packages/django/contrib/admindocs/
views.py" in model_detail
  254.     }, context_instance=RequestContext(request))
File "/Library/Python/2.5/site-packages/django/shortcuts/__init__.py"
in render_to_response
  18.     return HttpResponse(loader.render_to_string(*args,
**kwargs), **httpresponse_kwargs)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in
render_to_string
  102.         t = get_template(template_name)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in
get_template
  81.     template = get_template_from_string(source, origin,
template_name)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in
get_template_from_string
  89.     return Template(source, origin, name)
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in __init__
  166.         self.nodelist = compile_string(template_string, origin)
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in compile_string
  187.     return parser.parse()
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in parse
  283.                     compiled_result = compile_func(self, token)
File "/Library/Python/2.5/site-packages/django/template/
loader_tags.py" in do_extends
  169.     nodelist = parser.parse()
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in parse
  283.                     compiled_result = compile_func(self, token)
File "/Library/Python/2.5/site-packages/django/template/
loader_tags.py" in do_block
  147.     nodelist = parser.parse(('endblock', 'endblock %s' %
block_name))
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in parse
  283.                     compiled_result = compile_func(self, token)
File "/Library/Python/2.5/site-packages/django/template/
defaulttags.py" in do_if
  782.     nodelist_true = parser.parse(('else', 'endif'))
File "/Library/Python/2.5/site-packages/django/template/__init__.py"
in parse
  283.                     compiled_result = compile_func(self, token)
File "/Library/Python/2.5/site-packages/django/template/
defaulttags.py" in do_filter
  549.             raise TemplateSyntaxError('"filter %s" is not
permitted.  Use the "autoescape" tag instead.' % func.__name__)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to