django-north 0.1.0
pip install django-north==0.1.0
Released:
Yet another way to manage migrations: DBA as a service
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (MIT)
- Author: Lauréline Guérin
- Tags django-north
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
Yet another way to manage migrations: DBA as a service.
Let your favorite DBAs define the database schema, and provide blue/green migration files. Drop django native migrations, and use DBA’s migrations everywhere.
Requirements
Postgresql only (>= 9.4)
Django, obviously. v1.8+
Running under Python 2.7 (for the moment)
Documentation
The full documentation is at https://django-north.readthedocs.org.
Quickstart
Install Django North:
pip install django-north
In your settings.py :
INSTALLED_APPS = [
# ...
"django_north",
]
NORTH_MANAGE_DB = True
NORTH_MIGRATIONS_ROOT = '/path/to/sql/migrations/'
NORTH_TARGET_VERSION = '1.42'
Running Tests
You will need a usable Postgresql database in order to test the project. For example:
source <YOURVIRTUALENV>/bin/activate export DATABASE_URL=postgres://USER:PASSWORD@HOST:PORT/NAME (myenv) $ pip install -r requirements_test.txt
Run tests for a specific version
(myenv) $ ./runtest
Run tests for all versions (if tox is installed globally, you don’t need a virtual environment)
$ tox
Using the project
Many operations are documented in the Makefile. For more information, use:
$ make help
Credits
Tools used in rendering this package:
History
0.1.0 (2017-03-28)
First release on PyPI.
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (MIT)
- Author: Lauréline Guérin
- Tags django-north
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-north-0.1.0.tar.gz
.
File metadata
- Download URL: django-north-0.1.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b397780c41bfcdc0eaad7011586dc2df84914f29debec8489887b29bf9df1a9 |
|
MD5 | 4f62961faa8ad90c34c2ad9bbc64475e |
|
BLAKE2b-256 | 109829e7042ef090d71fd4b6ddb03bc516ff702a48ffbe85d8c00742e03ad076 |