Skip to content

Instantly share code, notes, and snippets.

@bayadeoro
Created May 12, 2014 07:30
Show Gist options
  • Save bayadeoro/658f6a4b2067fcbf007d to your computer and use it in GitHub Desktop.
Save bayadeoro/658f6a4b2067fcbf007d to your computer and use it in GitHub Desktop.
Django: Hacer un cambio en el modelo de datos y hacer la migracion con south
1º Editar el fichero models.py he introducir el cambio
2º Ir a la consola y en el proyecto ejecutar estos tres comandos
./manage.py schemamigration conta --auto
./manage.py migrate conta
./manage.py syncdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment