Make it possible to reverse migrations

Conflicts:
	CONTRIBUTORS.rst
pull/3833/merge
Venelin Stoykov 2017-09-05 18:09:07 +03:00 zatwierdzone przez Matt Westcott
rodzic 1aaf7b17ef
commit 90ce50307e
4 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -19,6 +19,8 @@ Changelog
1.12.2 (xx.xx.xxxx) - IN DEVELOPMENT
~~~~~~~~~~~~~~~~~~~
* Fix: Migration for addition of ``Page.draft_title`` field is now reversible (Venelin Stoykov)
1.12.1 (30.08.2017)
~~~~~~~~~~~~~~~~~~~

Wyświetl plik

@ -249,6 +249,7 @@ Contributors
* Levi Adler
* Edwar Baron
* Tomasz Knapik
* Venelin Stoykov
* Emily Horsman
* jcronyn
* Ben Sturmfels

Wyświetl plik

@ -13,3 +13,4 @@ What's new
Bug fixes
~~~~~~~~~
* Migration for addition of ``Page.draft_title`` field is now reversible (Venelin Stoykov)

Wyświetl plik

@ -25,5 +25,5 @@ class Migration(migrations.Migration):
field=models.CharField(default='', editable=False, max_length=255),
preserve_default=False,
),
migrations.RunPython(draft_title),
migrations.RunPython(draft_title, migrations.RunPython.noop),
]