1. Kai Diefenbach
  2. django-lfs
Issue #6 wontfix

ValueError exception while performing initial ./manage.py migrate (sqlite3)

Anonymous created an issue

The following error is raised while executing lfs/cart/migrations/0003_add_date_fields:

{{{ File "/home/pablo/devel/virtualenvs/tienda/src/django-lfs-tip/lfs/cart/migrations/0003_add_date_fields.py", line 11, in forwards db.add_column('cart_cartitem', 'creation_date', models.DateTimeField(_(u"Creation date"), auto_now_add=True)) File "/home/pablo/devel/virtualenvs/tienda/lib/python2.6/site-packages/south/db/sqlite3.py", line 27, in add_column raise ValueError("You cannot add a null=False column without a default value.") ValueError: You cannot add a null=False column without a default value. }}}

Comments (1)

  1. Log in to comment