Categories
Mastering Development

Can i change column type in database without updating Django model?

I have a django project which has created models for example: from django.db import models class Person(models.Model): title = models.CharField(max_length=30) description = models.CharField(max_length=30) This creates table: CREATE TABLE myapp_person ( “id” serial NOT NULL PRIMARY KEY, “title” varchar(30) NOT NULL, “description” varchar(30) NOT NULL ); Now i’m wondering can i change the column type to […]