Michel Krämer's profile - activity
2013-12-11 00:14:26 -0500 | received badge | Enthusiast |
2013-11-28 10:44:17 -0500 | commented question | ValueError: The database backend does not accept 0 as a value for AutoField. I just tested this and it works indeed. I had to edit the following migrations: 0055,0080,0093,0099 (two lines) |
2013-11-28 10:25:17 -0500 | commented question | ValueError: The database backend does not accept 0 as a value for AutoField. I'm experiencing the same problem. It seems there's a problem in the migration files. The following StackOverflow post suggest to remove the default value for foreign keys: http://stackoverflow.com/questions/15169001/south-raises-valueerror-when-trying-to-migrate If you want to keep the default value it seems you can still use None instead of 0 or False: http://rpki.net/ticket/607 It would be great if you could fix this. Thanks a lot! |