Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
Dan Davis
2bd8df243a
Fixed #30184 -- Removed ellipsis characters from shell output strings.
...
Partially reverted 50b8493581
(refs #29654 )
to avoid a crash when the user shell doesn't support non-ASCII characters.
2019-02-13 13:59:44 -05:00
Tim Graham
fcfb730658
Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
...
The addition of self.connection.check_constraints() in
7289874adc
is the cause.
2019-01-28 10:05:25 -05:00
Tim Graham
ec7e179aeb
Removed versionadded/changed annotations for 2.1.
2019-01-17 10:50:25 -05:00
can
7d3b3897c1
Refs #29738 -- Allowed registering serializers with MigrationWriter.
2019-01-11 18:13:16 -05:00
Damian Dimmich
133e79399a
Updated docs for fast column creation with defaults in PostgreSQL 11.
2018-11-26 09:51:29 -05:00
Patrik Sletmo
adfdb9f169
Fixed #29814 -- Added support for NoneType serialization in migrations.
2018-10-11 09:02:14 -04:00
Claude Paroz
50b8493581
Refs #29654 -- Replaced three dots with ellipsis character in output strings.
2018-08-22 09:13:58 -04:00
Tim Graham
b4fa94aed8
Removed code terms from docs/spelling_wordlist.
2018-07-31 12:22:28 -04:00
Andrew Godwin
0a8a6b4683
Add clarifying section about historical migration models
2018-05-15 12:20:25 -04:00
Sergey Fedoseev
183fb7b2b9
Fixed #28870 -- Added support for functools.partialmethod serialization in migrations.
2017-12-06 14:49:37 -05:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Melvyn Sopacua
5bb9b9a388
Fixed #28363 -- Allowed naming the migration generated by squashmigrations.
2017-07-26 13:47:35 -04:00
Mariusz Felisiak
081e787160
Refs #23919 -- Stopped inheriting from object to define new style classes.
...
Tests and docs complement to cecc079168
.
2017-06-26 10:30:31 -04:00
Markus Amalthea Magnuson
266b243168
Made docs/topics/migrations.txt use single quotes consistently.
2017-05-22 12:06:49 -04:00
Stefano Rivera
899c42cc8e
Removed unexpected initial attribute in data migration examples.
...
Inadvertently added in db97a88495
.
2017-03-25 15:59:17 -04:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
Arkadiusz Adamski
a76d12ceb4
Removed unused imports in example migrations.
2017-01-21 07:40:33 -05:00
Tim Graham
9d27478958
Refs #23919 -- Removed docs references to long integers.
2017-01-19 13:19:26 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Ed Morley
d1eda9b4ad
Refs #24109 -- Doc'd the elidable feature in squashing migrations docs.
2017-01-17 13:02:58 -05:00
Mitchel Humpherys
ae660cde5a
Fixed incorrect word choice in docs/topics/migrations.txt.
2016-11-16 06:57:30 -05:00
Maxime Lorant
cb3fb34b86
Fixed #27378 -- Added support for serialization of uuid.UUID in migrations.
...
Thanks Yuriy Korobko for the initial patch and Tobias McNulty for review.
2016-11-06 13:53:00 +01:00
Krzysztof Gogolewski
d1dbaeaadb
Adjusted documentation of migration related commands.
2016-11-05 21:56:13 +01:00
Tim Graham
5bd967e1c5
Doc'd how to remove old references in migration files.
2016-09-02 09:59:40 -04:00
Shai Berger
c93ac9cf42
Refs #25850 , #27142 , #27110 -- Documented migration history consistency checks.
2016-09-01 18:49:10 -04:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Tim Graham
e519aab43a
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Jarek Glowacki
d8b651a544
Added missing step to transitioning squashed migrations.
2016-01-04 10:35:45 -05:00
Mads Jensen
394e59099c
Fixed #25936 -- Added showmigrations to migrations topic guide.
2015-12-22 13:16:14 -05:00
Niels Van Och
99a1265a39
Fixed #25063 -- Added path to makemigration's output of migration file.
2015-12-18 11:20:00 -05:00
Simon Charette
cc2ca9c550
Fixed #25807 -- Instructed the migration writer about lazy objects.
...
Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation
and Tim for the review.
2015-11-26 11:14:47 -05:00
Andrei Fokau
998894e1b9
Fixed #25764 -- Added support for serialization of enum.Enum in migrations.
...
Thanks Tim Graham for the review.
2015-11-19 17:21:12 -05:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Markus Holtermann
43f2eb7ef3
Fixed #25390 -- Allowed specifying a start migration in squashmigrations
...
Thanks Tim Graham for the review.
2015-09-19 14:55:34 +10:00
Tyson Clugg
73df1040a2
Cleaned up example migration files in docs
2015-08-31 22:15:05 +10:00
Tyson Clugg
e34226fc37
Fixed #25259 -- Added comments to header of generated migration files
2015-08-31 22:14:21 +10:00
Piper Merriam
537818af87
Fixed #25185 -- Added support for functools.partial serialization in migrations
2015-07-29 10:15:50 -04:00
Tim Graham
e3d1f2422c
Fixed malformed Sphinx directives.
2015-07-25 06:37:51 -04:00
Andrei Kulakov
db97a88495
Fixed #24375 -- Added Migration.initial attribute
...
The new attribute is checked when the `migrate --fake-initial` option
is used. initial will be set to True for all initial migrations (this
is particularly useful when initial migrations are split) as well as
for squashed migrations.
2015-07-13 15:57:40 -04:00
Tim Graham
aed437d567
Updated release process for new release schedule.
2015-06-25 11:36:17 -04:00
Andrei Kulakov
b089759d60
Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
2015-03-13 13:22:19 -04:00
Carl Meyer
e35c70bef4
Fixed #23892 -- Clarified compatibility policy for migrations.
2015-02-16 10:11:47 -05:00
Markus Holtermann
f287bec583
Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
2015-02-13 14:29:59 +01:00
Tim Graham
c5d1a5ef5c
Removed docs about unmigrated apps as they are not supported in Django 1.9.
2015-02-09 10:28:42 -05:00
Tim Graham
570912a97d
Added a "Writing migrations" how-to.
2015-02-03 13:09:54 -05:00