Django - Error models with control data
问题 I'm working on writing the models.py file, and I need some controls to perform the automatic compilation of some fields. MOTIVOINGRESSO = ( (u'sequestro ', u'sequestro'), (u'fermo ', u'fermo'), (u'confisca final ', u'confisca final'), (u'cambio custodian ', u'cambio custodian'), ) motivo_ingresso = models.CharField (max_length = 50, choices = MOTIVOINGRESSO) FERMO = ( (u'30 ', u'30'), (u'60 ', u'60'), (u'90 ', u'90'), (u'180 ', u'180'), (u'1 month ', u'1 month'), (u'3 months, 'u'3 months'),