Pankrat
f91a04621e
Fixed #25833 -- Added support for non-atomic migrations.
...
Added the Migration.atomic attribute which can be set to False
for non-atomic migrations.
2016-02-05 09:09:05 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Tim Graham
55481bcdee
Fixed #25917 -- Clarified reversibility of RemoveField.
...
Thanks kaifeldhoff for the draft patch.
2016-01-28 12:47:08 -05:00
Simon Charette
729e0b086d
Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.
...
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23 14:19:03 -05:00
Gen1us2k
a1d0c60fa0
Added docs example for manually creating a column with RunSQL.
2015-12-25 18:28:45 -05:00
Tim Graham
931b946e29
Fixed typo in docs/ref/migration-operations.txt.
2015-11-14 17:19:45 -05:00
Rob Hudson
021782d22b
Corrected use of 'affect' vs 'effect' in docs.
2015-09-25 18:34:29 -04:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Flavio Curella
95edabb45e
Fixed #25430 -- Fixed incorrect RunSQL examples.
2015-09-19 18:11:43 -04:00
Bibhas
4283a03843
Fixed #25371 -- Added reverse_sql and reverse_code examples to docs.
2015-09-09 14:20:47 -04:00
Tyson Clugg
73df1040a2
Cleaned up example migration files in docs
2015-08-31 22:15:05 +10:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Tim Graham
307acc745a
Fixed #24630 -- Clarified docs about RunPython transactions.
...
Thanks Markus Holtermann for review.
2015-05-17 18:50:18 -04:00
Marten Kenbeek
1a1f16d67d
Fixed #24591 -- Optimized cloning of ModelState objects.
...
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
2015-04-20 19:53:21 -04:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Tim Graham
28308078f3
Fixed #22603 -- Reorganized classes in django.db.backends.
2015-01-14 14:16:20 -05:00
Loic Bistuer
8f4877c89d
Fixed #22583 -- Allowed RunPython and RunSQL to provide hints to the db router.
...
Thanks Markus Holtermann and Tim Graham for the review.
2015-01-10 00:30:48 +07:00
Markus Holtermann
c8bac4b556
Fixed #24098 -- Added no-op attributes to RunPython and RunSQL
...
Thanks Loïc Bistuer and Tim Graham for the discussion and review.
2015-01-09 10:31:32 -05:00
Claude Paroz
2c0f64b5f6
Updated migration docs to match changes from a159b1fac
2015-01-07 20:10:30 +01:00
Markus Holtermann
aa5ef0d4fc
Fixed #23822 -- Added support for serializing model managers in migration
...
Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin,
Tim Graham, Carl Meyer, and others for their review and input.
2014-12-15 08:34:15 -05:00
Markus Holtermann
f633ba778d
Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
...
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-10-09 21:32:06 +07:00
Markus Holtermann
85f6d89313
Fixed #23426 -- Allowed parameters in migrations.RunSQL
...
Thanks tchaumeny and Loic for reviews.
2014-10-02 11:52:40 -04:00
Duane Hilton
054bdfeff1
Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Markus Holtermann
b9a670b227
Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
2014-09-24 07:20:57 -04:00
Tim Graham
e9264bc25d
Revert "Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918 "
...
This reverts commit a8521a2c22
.
2014-09-02 08:12:19 -04:00
Andrew Godwin
a8521a2c22
Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918
2014-09-01 11:48:06 -07:00
Richard Eames
4dd5c8581d
Fixed #23349 -- Clarified details about RunPython's apps argument.
2014-08-27 17:26:08 -04:00
areski
7ca665c5f5
Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
2014-08-15 13:56:14 -04:00
Daniel Roseman
e01fa71142
Corrected headings in migration docs.
2014-07-24 09:39:20 -04:00
Andrew Godwin
a8ce5fdc28
Fixed #22470 : Full migration support for order_with_respect_to
2014-06-15 14:56:51 -07:00
Tim Graham
c17cd151d8
Doc edits for refs #22487 .
2014-06-09 12:09:16 -04:00
Andrew Godwin
8c12d51ea2
Fixed #22487 : Optional rollback emulation for migrated apps
2014-06-08 19:30:15 -07:00
Claude Paroz
e520a73eee
Harmonized some PEP 0263 coding preambles
2014-05-15 19:58:41 +02:00
Andrew Godwin
5a917cfef3
Fixed #22496 : Data migrations get transactions again!
2014-05-07 14:28:34 -07:00
Tim Graham
ab8d8e00c9
Improved formatting and links of migration docs.
2014-04-27 15:05:41 -04:00
Aymeric Augustin
8b5b199e20
Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
2014-04-26 17:46:23 +02:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Andrew Godwin
09af48c70f
Improve migrations/schema docs
2014-04-14 13:07:02 -04:00
Baptiste Mispelon
ea4da8e63c
Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Tim Graham
1f5f015c32
Fixed spelling mistakes in docs.
2014-02-28 21:03:46 -05:00
Tim Graham
7f2505ad9e
Fixed doc typos.
2014-02-28 11:44:03 -05:00
Andrew Godwin
dbe82e74f2
Add reference documentation for operations and stubs for schemaeditor.
2014-02-12 18:53:35 +00:00