How to work with the south in django

I am trying to learn about python-django web infrastructure. I successfully installed the south database migration tool in my ubuntu os and also added it to INSTALLED_APPS to use this tool for my web application.

When I run any command using manage.py like

 $ ./manage.py runserver 

I get this error:

 "/usr/local/lib/python2.7/dist-packages/South-1.0.2-py2.7.egg/south/db/generic.py:9: RemovedInDjango19Warning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead. from django.db.backends.util import truncate_name There is no South database module 'south.db.sqlite3' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS." 

I do not understand what it means. How can I fix this error?

Please give your helpful suggestion to resolve this error. thanks

+5
source share
1 answer

First off, you seem to be using the Django version for development. Do not do this, especially since you are just starting. Use the latest version, 1.8.

Secondly, since 1.7 Django includes built-in migrations. No need to set south.

+4
source

All Articles