Reputation:
i've created my database in postgresql using models in django . Now i need to add some columns in my tables ,so i edited my models but it keeps showing me errors in my admin interface
Upvotes: 0
Views: 190
Reputation: 754
Run the command:
python manage.py makemigrations
If it is asking for default values, give those default values. Finally run the command:
python manage.py migrate
Upvotes: 1