mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-14 02:03:11 +00:00
Make it possible to reverse migrations
This commit is contained in:
parent
d17caef271
commit
f0e9258af9
4 changed files with 5 additions and 1 deletions
|
|
@ -4,6 +4,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)
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -249,6 +249,7 @@ Contributors
|
|||
* Levi Adler
|
||||
* Edwar Baron
|
||||
* Tomasz Knapik
|
||||
* Venelin Stoykov
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ What's new
|
|||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
||||
* Migration for addition of ``Page.draft_title`` field is now reversible (Venelin Stoykov)
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue