1054, "Unknown column 'userprofile_user.phone' in 'field list'"

106 views
Skip to first unread message

Pinkesh Narad

unread,
Mar 27, 2019, 9:40:32 AM3/27/19
to Django users
hello all,
I am new to this, and i am getting this error and unable to run my admin 
as of I did makemigration app-name also delete my migrations several time but still getting same error and i am stuck here. 
please help me 

Phako Perez

unread,
Mar 27, 2019, 9:43:54 AM3/27/19
to django...@googlegroups.com
Review your model, seems you missed add phone into your model or some misspelling 

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4c5c5b76-d677-4323-97de-76246aacb9f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Aayush Bhattarai

unread,
Mar 27, 2019, 9:53:03 AM3/27/19
to Django users
First make migrations
python manage.py makemigrations YourAppName

and then migrate 
python manage.py migrate

and create superuser

Maybe your error may be fixed.
Reply all
Reply to author
Forward
0 new messages