Re: 1.7a1 - Migration syntax error

2014-02-04 Thread Pradip Caulagi
On Wednesday 05 February 2014 04:49 AM, Russell Keith-Magee wrote: This is the 0001_initial migration - did you manually write or update this migration, or is this code entirely automatically generated? If it's manually written or edited, then fix what you wrote :-) If it's the result of automa

Re: 1.7a1 - Migration syntax error

2014-02-04 Thread Russell Keith-Magee
Hi Pradip, On Tue, Feb 4, 2014 at 5:18 PM, Pradip Caulagi wrote: > I am using the following (simplified) model that doesn't migrate using the > new migrations in Django 1.7a1 - > > ... > File "/tmp/bar/blog/migrations/0001_initial.py", line 17 > ('created', models.DateTimeField(default=da

1.7a1 - Migration syntax error

2014-02-04 Thread Pradip Caulagi
I am using the following (simplified) model that doesn't migrate using the new migrations in Django 1.7a1 - $ $ pip freeze Django==1.7a1 argparse==1.2.1 distribute==0.6.34 wsgiref==0.1.2 $ $ cat blog/models.py from django.db import models from django.utils import timezone class Blog(models.Mode