Sorry, I meant custom filters, myModel.image|my_media_path

On Tue, Feb 16, 2010 at 4:57 PM, Joel Stransky <j...@stranskydesign.com>wrote:

> I have a base.html template which includes a mainContent.html template.
> mainContent reads a relative image path from the model passed to it but has
> a custom template tag used for locating the start of the path which makes it
> easy to develop locally and deploy the project without having to change
> anything.
>
> The problem is that if I load the tag inside base via {% load my_custom_tag
> %} it breaks but if I include that line inside mainContent, it works. My
> goal here was to load all custom tags in the base so that I'd never have to
> load them again but could use them anywhere. Is there trick to making the
> tag global or pointing to the base from my included template when using the
> tag?
>
> Thanks.
>
> --
> --Joel Stransky
> stranskydesign.com
>



-- 
--Joel Stransky
stranskydesign.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-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