I am following the first project in Practical Django Projects (2nd
Edition) by James Bennett, and when trying to add the TinyMCE editor
have encountered a problem that has me stumped.

I have copied /django/contrib/admin/templates/admin/change_form.html
to
/myproject/templates/admin/flatpages/flatpage/change_form.html

When I attempt to use the template, by modifying a flatpage in the
Admin interface, I get a template error, saying  "Invalid block tag:
'admin_media_prefix'"

I am pretty sure that it is not loading the custom template tags
{{ load i18n admin_modify adminmedia %}

>From what I have managed to deduce, it should locate these in /djang/
contrib/admin/templatetags but this does not seem to be working.

Is there something that I am not understanding.

This is all django 1.1.1

Thanks in advance

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to