Monday, October 1, 2012

Re: Add your own template library

On Mon, Oct 1, 2012 at 5:59 AM, Ashish Jain <ashishjain.ash@gmail.com> wrote:
> Hi,
>
> Yes it do have __init__.py
>
> I have created a simple project of template tags and have installed it as a
> python package with setup.py.
>
> After which I am referring it into my website.
>
> - Thanks for reply
>

You can only load template libraries from apps. Is your template
library contained within an app listed in INSTALLED_APPS?

Cheers

Tom

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment