Re: Integer field choice list keeps triggering migration

2016-05-03 Thread Mike Dewhirst
On 3/05/2016 4:58 PM, jorrit...@gmail.com wrote: I have the following model and choice list: BTW_TARIEF_CHOICES = { (1, '6%'), (2, '21%'), (3, '0%'), } Migrations see these changes as model changes. The model does change because it gets actual new choices in its definition. At any part

Integer field choice list keeps triggering migration

2016-05-02 Thread jorrit787
I have the following model and choice list: BTW_TARIEF_CHOICES = { (1, '6%'), (2, '21%'), (3, '0%'), } class FactuurItem(models.Model): naam = models.CharField(max_length=100) factuur_naam = models.CharField(max_length=100) eenheid = models.CharField(max_length=10) pr