Hello, in my templates pages, i do: {% load FtrToolTags %}
in my FtrToolTags, i do: from webTool.ftrTool.models import Product i also use Product model on admin.py, forms.py, views.py and models.py Thanks, Thiago On Jan 28, 11:21 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Wed, 2009-01-28 at 16:15 -0800, Thiago F. Crepaldi wrote: > > in models.py all the code is ok. > > What other files are using the Product model? In particular, how do you > import it into the module(s) that are using it in template tags. > Something in your code is not importing Product or importing it > incorrectly. Find that place. > > > Is there any procedure to "register" > > Product ? > > No. It only has to be imported. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---