Re: Porting issu 0.96 > 1.0

2009-12-14 Thread Robert
Hi, I found out this one by myself. I noticed the curious linebreak in the piece of code I had enclosed in my post. It turned out that this was due to the text editor I used in the shell, called "Nano". When you open a file in this editor you have to add the argument -w, otherwise it will break

Re: Porting issu 0.96 > 1.0

2009-12-05 Thread Daniel Roseman
On Dec 5, 4:14 pm, Robert wrote: > Hi, > > I try to run an app that ran successfully on 0.96 but doesn't run on > version 1.1.1. > > I have validated my models.py with the command python manage.py > validate. > > It output a syntax error in this line: > > if not force_update and

Porting issu 0.96 > 1.0

2009-12-05 Thread Robert
Hi, I try to run an app that ran successfully on 0.96 but doesn't run on version 1.1.1. I have validated my models.py with the command python manage.py validate. It output a syntax error in this line: if not force_update and self.next_update and self.next_update > datetime.datetime.now():