Sunday, September 30, 2012

Add your own template library


I have created a custom template tags library which I would like to use across my application.
I referred this code snippet,

but still when I refer the tag in my code as: {% load repeat %}.

It says 'repeat' is not a valid tag library, tried django.templatetags.repeat,django.contrib.staticfiles.templatetags.repeat

Any help would be appreciated.

- Thanks

You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment