Hi, I'm trying to follow the example on 
http://www.satchmoproject.com/docs/dev/customization.html
for creating custom templatetags.

I copied the base.html and index.html templates from src/satchmo/
satchmo/apps/satchmo_store/shop/templates/shop to my templates
directory:

satchmo/store/templates/shop$ ls
base.html  email  index.html  pdf  README.txt

I made a couple small changes and verified that the overriden
base.html and index.html are used to render the store home page.

Next, I created a templatetags/ directory in satchmo/store/localsite,
and I created the file localsite/templatetags/local_tags.py.  I also
created the templates featured_items.html and new_arrivals.html in my
localsite/ directory.

I added {% load local_tags %} to templates/shop/index.html.

This is the error I get:

'local_tags' is not a valid tag library: Template library local_tags
not found, tried
django.templatetags.local_tags,satchmo_store.shop.templatetags.local_tags,django.contrib.admin.templatetags.local_tags,django.contrib.comments.templatetags.local_tags,sorl.thumbnail.templatetags.local_tags,livesettings.templatetags.local_tags,satchmo_utils.thumbnail.templatetags.local_tags,satchmo_store.contact.templatetags.local_tags,tax.templatetags.local_tags,product.templatetags.local_tags,payment.templatetags.local_tags,satchmo_utils.templatetags.local_tags,app_plugins.templatetags.local_tags

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to