this is my model :
class zjm_model(models.Model):
a = models.CharField(max_length=36)
b = models.CharField(max_length=36)
and the table zjm_model has many data in my mysql , and now ,
i want to add a new field :
class zjm_model(models.Model):
a = models.CharField(max_length=36)
b = models.CharField(max_length=36)
c = models.CharField(max_length=36)
but , when i run manage.py syncdb , it show this :
No fixtures found.
so how can i to add a new field to my database ,
thanks
Database migrations are not built-in to Django, so you’ll need to use a third party library. I highly recommend south.