in models.py all the code is ok. Is there any procedure to "register" Product ?
when i type "python" in my red hat console, nothings happens, so i can't run "python manage.py syncdb" Would that be the reason Product is not recognized ? it is the only new model inserted into the project r...@server# python<enter> r...@server# It looks that int he same server there is python 2.3 and 2.5 but the python command is a symlink to 2.5 version thanks, Thiago On Jan 28, 3:11 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Wed, Jan 28, 2009 at 12:03 PM, Thiago F. Crepaldi <togn...@gmail.com>wrote: > > > > > > > Hello, a created a new model on a already working system in my > > development computer. When i finished it, i exported those mysql data > > data through phpmyadmin and imported to the production 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 > > Request URL: ***************** > > Exception Type: TemplateSyntaxError > > Exception Value: > > > 'FtrToolTags' is not a valid tag library: Could not load template > > library from django.templatetags.FtrToolTags, cannot import name > > Product > > > Exception Location: /usr/local/lib/python2.5/site-packages/django/ > > template/defaulttags.py in load, line 857 > > Python Executable: /usr/bin/python > > Python Version: 2.5.2 > > > Can anyone help me ? > > In trying to load your FtrToolTags library some code that attempts to > import "Product" was encountered, but Product is apparently not found or > causes an error when it is imported. You need to figure out what is wrong > with Product and fix it. > > Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---