Java, .NET, PHP, PYTHON, ANGULAR, ML, Data Science, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

How we add a new column in Django:-

to add a new column or file in Django after creating a table we should manage the following steps

1)  go into and add field if filed is CharacterField then write

models.CharField(max_length=100, default='')

if field is DateTime then write following 

2)  python makemigrations appname

3)  python migrate

Post a Comment

POST Answer of Questions and ASK to Doubt

Previous Post Next Post