Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Rebuild django app table
92 views
Skip to first unread message
max
unread,
Mar 24, 2017, 12:56:04 AM
3/24/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I delete the table Django built(e.g. django_content_type) in my sql server, and restart a new Django project
But when I did makemigrations the table didn;t show up, only django_migrations created
Somebody know what is going on?
max
unread,
Mar 24, 2017, 1:36:34 AM
3/24/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
OK I found what happen,
It need to build step by step
./manage.py migrate contenttypes
./manage.py migrate auth
./manage.py migrate sites
./manage.py migrate my_app
./manage.py migrate
max於 2017年3月24日星期五 UTC+8下午12時56分04秒寫道:
Reply all
Reply to author
Forward
0 new messages