On Fri, Oct 17, 2008 at 2:46 PM, Scott SA <[EMAIL PROTECTED]> wrote:

>
> 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
>
>
> [snip]


You've apparently layered a recent version of Django on top of an older one
without first deleting the older one.  This file
'django/contrib/admin/templates/admin_doc/model_detail.html' no longer
exists in the source tree, it has been moved to under
'django/contrib/admindoc/templates'.  The version you have is from sometime
before autoescape was implemented, but the code that is running is from
after.  If I were you I would delete everything under
'/Library/Python/2.5/site-packages/django/' and reinstall from scratch
because if you have this file left over you may have more, and they will
only lead to confusing errors.

Karen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to