Skip to content

CodeGears-Belgium/north

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

North README

Another way to migrate Django databases

Description

North is a Django extension which lets you write database fixtures and make database dumps in Python. 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. 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.

Read more on http://north.lino-framework.org

About

Another way to migrate Django databases

Resources

License

Stars

Watchers

Forks

Packages

No packages published