summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-07-30 11:52:36 +0100
committerAndrew Godwin <andrew@aeracode.org>2013-07-30 11:52:36 +0100
commit086389f5fc64bc47661f53332bf6ab3e2e882392 (patch)
tree9431d59f5829091d37c8f10c4286e24662047267
parentc8cbdabfab3a150904a2214930e82112d0231ff2 (diff)
Start adding schema migration into the release notes
-rw-r--r--docs/internals/deprecation.txt6
-rw-r--r--docs/releases/1.7.txt24
2 files changed, 30 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index b0f5566cb3..7fb7ec7cad 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -414,6 +414,12 @@ these changes.
* ``django.utils.unittest`` will be removed.
+* ``django.db.models.signals.pre_syncdb`` and
+ ``django.db.models.signals.post_syncdb`` will be removed, and
+ ``django.db.models.signals.pre_migrate`` and
+ ``django.db.models.signals.post_migrate`` will lose their
+ ``create_models`` and ``created_models`` arguments.
+
2.0
---
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index 8c5a0fb585..5bd462b4a8 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -30,6 +30,30 @@ security support until the release of Django 1.8.
What's new in Django 1.7
========================
+Schema migrations
+~~~~~~~~~~~~~~~~~
+
+Django now has built-in support for schema migrations, which allows models
+to be updated, changed and deleted and the changes stored into migration files
+and then run on any deployed database.
+
+Migrations are covered in :doc:`their own documentation</topics/migrations>`,
+but a few of the key features are:
+
+* ``syncdb`` has been deprecated and replaced by ``migrate``. Don't worry -
+ calls to ``syncdb`` will still work as before.
+
+* A new ``makemigrations`` command provides an easy way to autodetect changes
+ to your models and make migrations for them.
+
+* :data:`~django.db.models.signals.post_syncdb` and
+ :data:`~django.db.models.signals.post_syncdb` have been renamed to
+ :data:`~django.db.models.signals.pre_migrate` and
+ :data:`~django.db.models.signals.post_migrate` respectively. The
+ ``create_models``/``created_models`` argument has also been deprecated.
+
+* Routers something something.
+
Admin shortcuts support time zones
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~