2๐
โ
It wasnโt considered a bug, but is now; South 0.7.7 (forthcoming as I write this) should fix it.
๐คShai Berger
0๐
-
Do not worry, the
DEFAULT 1
in the DB only specifies that if you create a new instance in the table, this field will be populated with 1 by default, but this value can be changed. Whatkeep_default
does is disabling the value from being edited, e.g. a new field will get value 1 as default and you canโt change the value. This is not your case. You will get default value 1 on new instances but you will be able to edit the value. -
Continuing point num 1 โ no need to remove the value since
DEFAULT 1
is the correct representation of a default value for a new instance of a field.
๐คScillon
- [Answered ]-Django get queryset as serialized
- [Answered ]-Django โ Empty database when inspectdb is used
Source:stackexchange.com