so I already created models in Django for my db, but now I want to rename the model. I changed the names in the Meta class and then performed the migration / migration, but this only creates new tables.
I also tried schematization, but also did not work, I use Django 1.7
Here is my model
class ResultType(models.Model): name = models.CharField(max_length=150) ut = models.DateTimeField(default=datetime.now) class Meta: db_table = u'result_type' def __unicode__(self): return self.name
Greetings
python django migrate renaming makemigrations
Toby green
source share