Don't delete the 0001_initial file!
That is your first state. Just delete the field from you model and do
makemigrations again.. You wil get a 0002_ file which deletes the field.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
I have this models:
class Genre(models.Model):
genre = models.CharField(max_length=100)
def __str__(self):
return self.genre
class Book(models.Model):
book_name = models.CharField(max_length=150)
summary = models.TextField(max_length=1000, null=True,blank=Tru
2 matches
Mail list logo