Re: problem with ChangeManipulator

2007-10-12 Thread Gio
I solved this. It seems my models.py was wrong, I got a few FloatField without max_digits and decimal_places set (it was coming from a 0.97pre project). On a remote Apache server I wasn't seeing the nice complaints that normally Django dev-server shouts. On 10 Ott, 18:48, Gio <[EMAIL PROTECTED]

Re: problem with ChangeManipulator

2007-10-10 Thread Gio
if I do: articolo = Articolo.objects.get(codice = c) print articolo.id everything goes right, it prints the right number I'm on Django 0.96, btw On 11 Ott, 05:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wro

Re: problem with ChangeManipulator

2007-10-10 Thread [EMAIL PROTECTED]
Are you sure that articolo is not None or that c is not an int or None? On Oct 10, 12:48 pm, Gio <[EMAIL PROTECTED]> wrote: > I get this error: > unsupported operand type(s) for +: 'NoneType' and 'int' > > referred to this snippet of code, debug informations are pointing to > the line where the C

problem with ChangeManipulator

2007-10-10 Thread Gio
I get this error: unsupported operand type(s) for +: 'NoneType' and 'int' referred to this snippet of code, debug informations are pointing to the line where the ChangeManipulator is: - articolo = Articolo.objects.get(codice = c) try: