Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Start adding schema migration into the release notes

  • Loading branch information...
commit 086389f5fc64bc47661f53332bf6ab3e2e882392 1 parent c8cbdab
@andrewgodwin andrewgodwin authored
Showing with 30 additions and 0 deletions.
  1. +6 −0 docs/internals/deprecation.txt
  2. +24 −0 docs/releases/1.7.txt
View
6 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
---
View
24 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.