git - Django rest framework and south migrations inside my repo - how to set it up correctly? -


i'm using django==1.6.5 , djangorestframework==3.0.3 south==0.8.4. , using virtualenv.

in settings installed_apps have both rest_framework.authtoken , rest_framework. isn't rest_framework.authtoken redundant?

when run migrations creates migrations in /users/andi/.virtualenvs/my_virtualenv/lib/python2.7/site-packages/rest_framework/authtoken/migrations, of course not in project's repo.

question:

how can set django rest framework produce migrations inside project directory, that, after running schemamigration locally, thing have run on server migrate?

you using django 1.6.5, in version migrations not introduced may give error on running migrations because django rest framework auth token migration tries import migrations django.db

upgrade south package 0.8.4 1.0.1 version solve problem please check following link related south version 1.0.1 http://south.readthedocs.org/en/latest/releasenotes/1.0.html


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -