{"id":23131629,"url":"https://github.com/peopledoc/django-north","last_synced_at":"2025-07-03T06:02:48.405Z","repository":{"id":44574069,"uuid":"84804288","full_name":"peopledoc/django-north","owner":"peopledoc","description":"Django library for managing and executing hand-written PostgreSQL migrations","archived":false,"fork":false,"pushed_at":"2022-12-26T20:29:35.000Z","size":281,"stargazers_count":8,"open_issues_count":3,"forks_count":5,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-06-09T15:46:21.696Z","etag":null,"topics":["approved-public","django","ghec-mig-migrated","peopledoc-opensource","python","tribe-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peopledoc.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2017-03-13T08:54:26.000Z","updated_at":"2025-02-28T03:01:52.000Z","dependencies_parsed_at":"2023-01-31T01:15:21.885Z","dependency_job_id":null,"html_url":"https://github.com/peopledoc/django-north","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/peopledoc/django-north","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peopledoc%2Fdjango-north","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peopledoc%2Fdjango-north/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peopledoc%2Fdjango-north/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peopledoc%2Fdjango-north/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peopledoc","download_url":"https://codeload.github.com/peopledoc/django-north/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peopledoc%2Fdjango-north/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261957543,"owners_count":23236299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["approved-public","django","ghec-mig-migrated","peopledoc-opensource","python","tribe-python"],"created_at":"2024-12-17T11:15:36.769Z","updated_at":"2025-07-03T06:02:48.385Z","avatar_url":"https://github.com/peopledoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nDjango North\n============\n\n.. image:: https://badge.fury.io/py/django-north.png\n    :target: https://pypi.org/pypi/django-north\n\n.. image:: https://travis-ci.org/peopledoc/django-north.png?branch=master\n    :target: https://travis-ci.org/peopledoc/django-north\n\n.. image:: https://readthedocs.org/projects/django-north/badge/\n    :target: http://django-north.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/codecov/c/github/peopledoc/django-north/master.svg\n    :target: https://codecov.io/github/peopledoc/django-north?branch=master\n\nDjango library for managing and executing hand-written PostgreSQL migrations.\n\nLet your favorite DBAs define the database schema, and provide blue/green\nmigration files. Drop django native migrations, and use DBA's migrations\neverywhere.\n\nRequirements\n------------\n\n+ **Postgresql only**\n+ Django v1.11, v2.0, v2.1, v2.2\n+ Running under Python 3.6, 3.7 or 3.8\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-north.readthedocs.org.\n\nQuickstart\n----------\n\nInstall Django North::\n\n    pip install django-north\n\nIn your ``settings.py`` :\n\n.. code-block:: python\n\n    INSTALLED_APPS = [\n        # ...\n        \"django_north\",\n    ]\n\n    NORTH_MANAGE_DB = True\n    NORTH_MIGRATIONS_ROOT = '/path/to/sql/migrations/'\n    NORTH_TARGET_VERSION = '1.42'\n\n\nRunning Tests\n--------------\n\nYou will need a usable Postgresql database in order to test the project. For example:\n\n::\n\n    source \u003cYOURVIRTUALENV\u003e/bin/activate\n    export DATABASE_URL=postgres://USER:PASSWORD@HOST:PORT/NAME\n    (myenv) $ pip install -r requirements_test.txt\n\nRun tests for a specific version\n\n::\n\n    (myenv) $ ./runtest\n\n\nRun tests for all versions (if tox is installed globally, you don't need a\nvirtual environment)\n\n::\n\n    $ tox\n\nUsing the project\n-----------------\n\nMany operations are documented in the Makefile. For more information, use:\n\n::\n\n    $ make help\n\n\nCredits\n---------\n\nTools used in rendering this package:\n\n*  Cookiecutter_\n*  `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeopledoc%2Fdjango-north","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeopledoc%2Fdjango-north","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeopledoc%2Fdjango-north/lists"}