Well,
i figured it out. As i said before, i upgraded from django 0.97 (svn)
to 1.0.2 stable, BUT i didn't rebooted my server. So, when i looked at
META INFORMATION in my browser, i saw that 0.97 version still being
used, instead of the new version. I rebooted it and everything is
normal again.
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
wrote:
> On
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
tion table. When i
> > deployed the new site, i got:
>
> > TemplateSyntaxError at
>
> > 'FtrToolTags' is not a valid tag library: Could not load template
> > library from django.templatetags.FtrToolTags, cannot import name
> > Product
>
> > Request Method: GET
&g
tion table. When i
> deployed the new site, i got:
>
> TemplateSyntaxError at
>
> 'FtrToolTags' is not a valid tag library: Could not load template
> library from django.templatetags.FtrToolTags, cannot import name
> Product
>
> Request Method: GET
> Re
: Could not load template
library from django.templatetags.FtrToolTags, cannot import name
Product
Request Method: GET
Request URL:*
Exception Type: TemplateSyntaxError
Exception Value:
'FtrToolTags' is not a valid tag library: Could not load template
library
6 matches
Mail list logo