Quantcast
Channel: What should I use instead of syncdb in Django 1.9? - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by Amrendra for What should I use instead of syncdb in Django 1.9?

syncdb has some problem with db migration. so, after django 1.7 makemigrations and migrate have been introduced. Now in django 1.9 syncdb has been deprecated. try 1. python manage.py makemigrations...

View Article



Answer by Don Mums for What should I use instead of syncdb in Django 1.9?

You should definitely use migration system. Which lets you track changes in your models.py, and create migrations for the database. The migration system uses the commands makemigrations to create...

View Article

Answer by tjati for What should I use instead of syncdb in Django 1.9?

syncdb is deprecated because of the migration system, introduced with django 1.7. Now you can track your changes using makemigrations. This transforms your model changes into python code to make them...

View Article

Answer by dizballanze for What should I use instead of syncdb in Django 1.9?

You should use the makemigrations and migrate commands that were introduced in django 1.7 https://docs.djangoproject.com/en/1.7/topics/migrations/

View Article

What should I use instead of syncdb in Django 1.9?

Take a look at this: $ pypy ./manage.py syncdb /usr/lib64/pypy-2.4.0/site-packages/django/core/management/commands/syncdb.py:24: RemovedInDjango19Warning: The syncdb command will be removed in Django...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images