Metadata-Version: 2.4
Name: django_evolution
Version: 2.4.1.dev0
Summary: A database schema evolution tool for the Django web framework.
Home-page: https://github.com/beanbaginc/django-evolution
Download-URL: https://downloads.reviewboard.org/releases/django-evolution/2.4/
Author: Beanbag, Inc.
Author-email: reviewboard@googlegroups.com
Maintainer: Beanbag, Inc.
Maintainer-email: reviewboard@googlegroups.com
License: BSD
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1
Classifier: Framework :: Django :: 1.6
Classifier: Framework :: Django :: 1.7
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: Django>=1.6
Requires-Dist: python2-secrets; python_version == "3.5"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

================
Django Evolution
================

Django Evolution is an add-on to the Django_ web framework that helps manage
changes to the database schema.

"But wait, why would I want this? Doesn't Django have migrations built-in?
Isn't this the same thing?"

Yes, yes it does, and it mostly is. In fact, Django Evolution works
comfortably alongside Django's migrations, helping you get the best out of
both.

There are cases where you might want an alternative to migrations:

1. You're still stuck on Django 1.6 or earlier and need to make changes to
   your database.

   Django 1.6 is the last version without built-in support for migrations,
   and there are still codebases out there using it. Django Evolution can
   help keep upgrades manageable, and make it easier to transition all or
   part of your codebase to migrations when you finally upgrade.

2. You're distributing a self-installable web application, possibly used in
   large enterprises, where you have no control over when people are going to
   upgrade.

   Django's migrations assume some level of planning around when changes are
   made to the schema and when they're applied to a database. The more changes
   you make, and the more versions in-between what the user is running and
   what they upgrade to, the longer the upgrade time.

   If a customer is in control of when they upgrade, they might end up with
   *years* of migrations that need to be applied.

   Migrations apply one-by-one, possibly triggering the rebuild of a
   table many times during an upgrade. Django Evolution, on the other hand,
   can apply years worth of evolutions at once, optimized to perform as few
   table changes as possible. This can take days, hours or even *seconds* off
   the upgrade time.


.. _Django: https://www.djangoproject.com/


What versions of Django are supported?
--------------------------------------

Django Evolution 2.x supports Django 1.6 through 4.2, and Python 2.7 through
3.12.

For older versions of Django, see Django Evolution 0.7.

There's built-in support for evolving SQLite, Postgres, MySQL, and MariaDB
databases.


I can't imagine anything better... How do I start?
--------------------------------------------------

We have a `bunch of documentation <https://django-evolution.readthedocs.org>`_
just for you!

There, you'll find out how to `install it`_, `configure it`_ for your project,
`generate evolutions`_, and `apply them`_.

Plus, answers_ to all^W some of your burning questions, like "how do these work
with migrations?" and "why is my syncdb/migrate command weird now?"

.. _Django: https://www.djangoproject.com/
.. _install it:
   https://django-evolution.readthedocs.io/en/latest/installation.html
.. _configure it:
   https://django-evolution.readthedocs.io/en/latest/installation.html
.. _generate evolutions:
   https://django-evolution.readthedocs.io/en/latest/writing-evolutions.html
.. _apply them:
   https://django-evolution.readthedocs.io/en/latest/commands/evolve.html
.. _answers:
   https://django-evolution.readthedocs.io/en/latest/faq.html


Who's using Django Evolution today?
-----------------------------------

There's dozens of us! Dozens!

At Beanbag_ we're using it in `Review Board`_, our open source code review
product, used by thousands of companies world-wide. So we know it works.
Review Board predated Django's migrations by a whole lot of years, and
continues to benefit from the optimized upgrade times of evolutions today.


.. _Beanbag: https://beanbaginc.com/
.. _Review Board: https://www.reviewboard.org/
