Let's say I have the following django field:
class MyModel(models.Model):
MONTH_CHOICES = [(str(i), calendar.month_name[i]) for i in range(1,13)]
month = models.CharField(max_length=9, choices=MONTH_CHOICES, default='1')
Let's say someone enters in 40, instead of it raising an error, I want it to just save it as None / NULL. Is there a way to do this, perhaps on the save method in a generic way?