RE: I put 3 more fields on database models

2018-10-06 Thread Deepak Kumar jha
After adding fields in model you have to do 1:python manage.py makemigrations (app_name) 2: Python manage.py migrate Sent from my Windows 10 phone From: Bleron Uka Sent: 07 October 2018 03:33 AM To: Django users Subject: I put 3 more fields on database models Hi,  My database has data there and

Re: I put 3 more fields on database models

2018-10-06 Thread daniel main
Hello. Try and make the migrations then migrate. I hope that helps On Oct 7, 2018 01:03, "Bleron Uka" wrote: Hi, My database has data there and i add 3 more inputs and i am having this error ?! -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: I put 3 more fields on database models

2018-10-06 Thread Manjunath
Seems like you have not performed migrations after adding the new fields. execute these commands & then run your server. python manage.py makemigrations python manage.py migrate On Sunday, October 7, 2018 at 3:33:54 AM UTC+5:30, Bleron Uka wrote: > > Hi, > My database has data there and i