sandiegopython / test-driven-django-development

This repository contains materials for a San Diego Python workshop on learning Django with test inspired development
http://test-driven-django-development.readthedocs.org/
Other
102 stars 35 forks source link

Add output in section, Converting Our App to South #124

Open riseriyo opened 10 years ago

riseriyo commented 10 years ago

suggestion: Add in the following after the cell: $ python manage.py convert_to_south blog

Display what it should show in output: "$ python manage.py convert_to_south blog Creating migrations directory at ... Creating init.py in ...

App 'blog' converted. Note that South assumed the application's models matched the database (i.e. you haven't changed it since last syncdb); if you have, you should delete the blog/migrations directory, revert models.py so it matches the database, and try again."

Also, note that it prompted me to "You can now apply this migration..." Shouldn't we include explanation about this statement, just in case if someone is wondering?

When I applied migration, it gave me the following: "$ python manage.py migrate blog Running migrations for blog: