On 8/11/06, Michal <[EMAIL PROTECTED]> wrote:
> Hello,
> I would like use my custom filter function inside Flatpage template. How
> could I do this?
>
> If I try to load my custom tags model ({% load cust_template_tags %}) I
> get this error:

Hi Michal,

A flatpage template is no different from any other template -- the
template system is decoupled from the rest of the framework, and
therefore it doesn't care which application is using it (flatpages or
not).

In your particular case, make sure your custom template tag libraries
are registered in INSTALLED_APPS, per the documentation:

http://www.djangoproject.com/documentation/templates_python/#extending-the-template-system

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

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

Reply via email to