-1

I am using south for migrations. Today I surprisingly found an interesting article, django1.7 support migrations.

Interestingly I found that the startapp command even creates a folder migrations.

python manage.py startapp myapp

has tree:

myapp/
    admin.py
    models.py
    views.py
    tests.py
    migrations/ <-- folder migrations

I also found command ./manage.py makemigrations, is it similar to:

./manage.py schemamigration myapp --initial or ./manage.py schemamigration myapp --auto

So what about datamigration??

Also found command ./manage.py migrate, i hope it is similar to south's ./manage.py migrate command.

So there is no ./manage.py syncdb command in django1.7??

Maxime Lorant
  • 34,607
  • 19
  • 87
  • 97
suhailvs
  • 20,182
  • 14
  • 100
  • 98

1 Answers1

0

Django 1.7 migrations are successor to South migrations.

And since there are now migrations old syncdb was deprecated. Syncdb should be working still for few versions.

You can read more details what was changed in 1.7 release notes:

jtiai
  • 611
  • 5
  • 11