is there way if choice removed model choices should automatically delete entry in db too.
like
class student(models.model): freshman = 'fr' sophomore = 'so' junior = 'jr' senior = 'sr' year_in_school_choices = ( (freshman, 'freshman'), (sophomore, 'sophomore'), (junior, 'junior'), (senior, 'senior'), ) year_in_school = models.charfield(max_length=2, choices=year_in_school_choices, default=freshman) now have removed (junior, 'junior') choice list. in student table should delete records junior.
i using appengine release. there chance check while deploying appengine application , send change db ?
any appreciate it.
no. south data migration.
Comments
Post a Comment