kopia lustrzana https://github.com/wagtail/wagtail
Make it possible to reverse migrations
Conflicts: CONTRIBUTORS.rstpull/3833/merge
rodzic
1aaf7b17ef
commit
90ce50307e
|
@ -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)
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -249,6 +249,7 @@ Contributors
|
|||
* Levi Adler
|
||||
* Edwar Baron
|
||||
* Tomasz Knapik
|
||||
* Venelin Stoykov
|
||||
* Emily Horsman
|
||||
* jcronyn
|
||||
* Ben Sturmfels
|
||||
|
|
|
@ -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),
|
||||
]
|
||||
|
|
Ładowanie…
Reference in New Issue