If you are using Satchmo trunk (which it appears you are by the version), your Product import should be: from product.models import Category
Rather than: from satchmo.product.models import Category On Thu, Jun 11, 2009 at 2:30 PM, Julie Shum <[email protected]> wrote: > > Hello, > > I'm working on my first Satchmo implementation and right now I am > trying to replicate the Satchmo store on my Mac onto a Linode instance > (running Ubuntu, Apache, mod_wsgi). When I try to load my site, I keep > getting a TemplateSyntax Error related to my custom template tag. The > templatetag works perfectly in the setup on my Mac and joielle is in > my list of installed apps. Satchmo works on the Linode setup if I > remove all references to joielle_category in my custom templates, but > throws this error once I include my template tag. > > TemplateSyntaxError at / > 'joielle_category' is not a valid tag library: Could not load template > library from django.templatetags.joielle_category, No module named > product.models > > The full traceback message is located here: http://dpaste.com/54256/ > > The template tag joielle_category has these two imports at the top: > from django.template import Library, Node, Variable, > VariableDoesNotExist > from satchmo.product.models import Category > > I'm not sure why satchmo.product.models is unavailable as Satchmo > runs > > python manage.py satchmo_check on Linode returns the following: > /usr/local/lib/python2.6/dist-packages/django_registration-0.7- > py2.6.egg/registration/models.py:4: DeprecationWarning: the sha module > is deprecated; use the hashlib module instead > Checking your satchmo configuration. > Using Django version 1.1 beta 1 > Using Satchmo version 0.9-pre-SVN-unknown > Your configuration has no errors. > > Am I missing something here? Any help on this would be greatly > appreciated. > > thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
