python - Django model export on MySql server -
i imported external database project , thereby converting models.py
file using python manage.py inspectdb > models.py
command.
now have edited models.py file adding class. how can export models.py
file onto mysql server without hampering data in database?
follow screen cast http://pressedweb.com/tutorials/django-djourney-introduction-to-south/
then search in google or stackoverflow requirements. there have threads regrading matter in stackoverflow. before doing south migration don't forget backup database.
Comments
Post a Comment