How to install North
- Download and install ActivePython
- Buy and install the Business Edition license from account.activestate.com
- Open Command Prompt
- Type
pypm install north
North is a Python code serializer/deserializer for Django which lets you write intelligent fixtures and generate database dumps. You can use it to provide automated database migrations, which makes it an alternative to South
North includes an optional single-table solution for handling multilingual database content.
North doesn't require any database model, it is not even a Django app. Basic usage in your settings.py file is:
from north import Site SITE = Site(__file__,globals(),'myapp1','myapp2',...) # your settings here
See the Usage page for djangosite which applies entirely for a North site.
North works by adding a new serialization format "py" to Django's SERIALIZATION_MODULES setting. You can then specify this in the --format option of Django's dump command:
manage.py dump --format py
Instantiating a North Site will install sensible default values for certain Django settings, including INSTALLED_APPS and SERIALIZATION_MODULES.