The Basics
When you run ./manage.py syncdb, Django will look for any new models that have been defined, and add a database table to represent those new models. However, if you make a change to an existing model, ./manage.py syncdb will not make any changes to the database.
This is where Django Evolution fits in. Django Evolution is an extension to Django that allows you to track changes in your models over time, and to update the database to reflect those changes.
Project Home – http://code.google.com/p/django-evolution/Grab the Repository – svn checkout http://django-evolution.googlecode.com/svn/trunk/
Recent Commits
-
165 was committed 2 months ago.
Updated the SQLite backend to support the managed flag, introduced in trunk for Django v1.1.
-
164 was committed 7 months, 3 weeks ago.
Fix an issue with changing a field type to a different, but db type-compatible class (such as subclasses). We now check when the field_type has changed and determine if the two classes have the same resulting get_internal_type(). This allows a model to go from a CharField to a URLField, for example, or vice-versa. This patch is based on the work of Carl Meyer and fixes bug #81. A new unit test was provided for this behavior, and all unit tests pass.
-
163 was committed 9 months ago.
Fixed #85: Modified evolve command to check for pre-existing —verbosity option, introduced in Django 9110.
-
162 was committed 9 months, 1 week ago.
Fixed #82: Modified the evolve command to only capture Evolution exceptions. Thanks to SmileyChris for the patch.
-
161 was committed 10 months ago.
Added a note on the v1.0 requirement for Django Evolution.
-
160 was committed 10 months ago.
Fixed some problems with the MySQL test cases introduced by r158.
-
159 was committed 10 months ago.
Fixed #76: Added test case to catch a problem with adding a field with unique=True and db_index=True. Thanks to Carl J Meyer for the test case.
-
158 was committed 10 months ago.
Refactored the BaseEvolutionOperations implementation to use the methods now exposed by the Django creation backend.
-
157 was committed 10 months ago.
Fixed #75: Corrected SQLite SQL generation for the new Django backend layout, and added an abstract field to the Mock Meta class. Thanks to Christian Hammond
for the patch. -
156 was committed 10 months ago.
Fixed #69: Updated use of signals to be Django 1.0 compliant. Thanks to Todd O’Bryan for the patch.