Hello,
my site is almost ready, but i still getting some issues along the
way. To day i am testing the admin module and i found out some issues.
All models that use some foreign key presents a message like this:
TemplateSyntaxError at /ftrTool/admin/ftrTool/dependency/3/
Caught an exception
. =)
pretty weird, ham ?!
Thanks all
Thiago.
On Jan 29, 8:23 am, "Thiago F. Crepaldi" <togn...@gmail.com> wrote:
> Hello,
>
> in my templates pages, i do: {% load FtrToolTags %}
>
> in my FtrToolTags, i do: from webTool.ftrTool.models import Product
>
> i also us
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 imp
l inserted into the project
r...@server# python
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, Thia
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
Traceback:
File "C:\PYTHON25\Lib\site-packages\django\core\handlers\base.py" in
get_response
86. response = callback(request, *callback_args,
**callback_kwargs)
File "C:\PYTHON25\Lib\site-packages\django\contrib\auth\decorators.py"
in __call__
67. return
Hello, i have a model called FEATURE, where a "PRODUCT" charfield(50)
existed. Yesterday I created a PRODUCT model and updated FEATURE model
to use that foreign key.
However, when a form to view the FEATURE data is called through a
template, an error on line 27 occurs:
Caught an exception while
Hello Bruno,
Karen Tracey solved my issue and now i will be able to apply those
refactoring you suggested me.
Thanks for tips :-)
Att
Thiago
On Jan 19, 7:18 pm, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:
> On 19 jan, 18:04, "Thiago F. Crepaldi" <to
n Mon, Jan 19, 2009 at 12:04 PM, Thiago F. Crepaldi
> > <togn...@gmail.com>wrote:
>
> >> hello Karen,
>
> >> below is the code required. I hope you can help me =)
>
> > In the future, please post code of that length/width to someplace like
> > dpaste.co
Low = forms.IntegerField(label="Number of
Dependencies", required = False, widget=forms.TextInput(attrs=
{'size':'3'}))
numDepsHigh = forms.IntegerField(label="Number of
Dependencies", required = False, widget=forms.TextInput(attrs=
{'size':'3'}))
dependency = f
Hello,
I am migrating a system from django 0.97 (svn) to 1.0.2 (stable) and I got
the following error when a [database] SEARCH FORM is submitted :
'RelatedObject' object has no attribute 'unique'
I recreated all tables through 'python manage.db syncdb' command and
imported all the old data back
Hello,
I am migrating a system from django 0.97 (svn) to 1.0.2 (stable) and I
got the following error when a [database] SEARCH FORM is submitted :
'RelatedObject' object has no attribute 'unique'
I recreated all tables through 'python manage.db syncdb' command and
imported all the old data back
12 matches
Mail list logo