L
L
Les Alterman2015-12-10 17:57:17
MySQL
Les Alterman, 2015-12-10 17:57:17

How to do DB sync in Django 1.9?

What command can be used to synchronize with the database in Django 1.9 if the syncbd command is missing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alk, 2015-12-10
@Les_Alterman

If nothing has changed in 1.9 relative to 1.8, then 2 commands in a row must be executed:
makemigrations
migrate

A
Andrey, 2015-12-10
@andreypaa

I think you should use migrate instead of syncdb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question