Re: sqlmigrate does not quote default string values

2017-02-06 Thread Michael Grijalva
he issue please, such as Django version, > database + version, database driver + version, and anything you think might > be helpful. Thank you > > /Markus > > On Friday, February 3, 2017 at 7:27:31 PM UTC+1, Michael Grijalva wrote: >> >> Ok thank you. I will dig into it more

Re: sqlmigrate does not quote default string values

2017-02-03 Thread Michael Grijalva
Ok thank you. I will dig into it more. On Thursday, February 2, 2017 at 7:57:16 AM UTC-8, Tim Graham wrote: > > It looks like a bug at first glance. I encourage you to look at Django's > source code and try to confirm and fix it. > > On Wednesday, February 1, 2017 at 8:11:21 PM

sqlmigrate does not quote default string values

2017-02-01 Thread Michael Grijalva
Not sure if this is considered a bug, but the SQL output from sqlmigrate contains a small syntax error with default string values: Add a new column as so: class City(models.Model): ... name = models.CharField(max_length=100, default='a b c d') Create migration, and run sqlmigrate