Jarek Glowacki 
							
						 
					 
					
						
						
							
						
						c8df17b612 
					 
					
						
						
							
							Included reverse deps in showmigrations  
						
						
						
						
					 
					
						2016-05-08 13:53:36 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6729b96d8a 
					 
					
						
						
							
							Removed try/fail antipattern from migrations commands tests.  
						
						
						
						
					 
					
						2016-04-27 10:21:18 -04:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						93deb1691e 
					 
					
						
						
							
							Fixed   #26492  -- Fixed "maximum recursion depth exceeded" migrate error.  
						
						... 
						
						
						
						A regression introduced in 0d3c616fbb2f49fa7ff6809e5a6777275352b35b;
refs #26351 . 
						
						
					 
					
						2016-04-12 09:04:14 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						92053acbb9 
					 
					
						
						
							
							Fixed E128 flake8 warnings in tests/.  
						
						
						
						
					 
					
						2016-04-08 10:12:33 -04:00 
						 
				 
			
				
					
						
							
							
								Attila Tovt 
							
						 
					 
					
						
						
							
						
						02ae5fd31a 
					 
					
						
						
							
							Fixed   #25850  -- Made migrate/makemigrations error on inconsistent history.  
						
						
						
						
					 
					
						2016-04-05 08:52:08 -04:00 
						 
				 
			
				
					
						
							
							
								Attila Tovt 
							
						 
					 
					
						
						
							
						
						00dbd02f7e 
					 
					
						
						
							
							Made MakeMigrationsTests call proper parent method  
						
						
						
						
					 
					
						2016-04-02 10:10:38 +02:00 
						 
				 
			
				
					
						
							
							
								Scott Sexton 
							
						 
					 
					
						
						
							
						
						fc584f0685 
					 
					
						
						
							
							Fixed   #26117  -- Consulted database routers in initial migration detection.  
						
						... 
						
						
						
						Thanks Simon Charette for help. 
						
						
					 
					
						2016-02-25 09:56:00 -05:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Hasan 
							
						 
					 
					
						
						
							
						
						26ad01719d 
					 
					
						
						
							
							Refs  #26022  -- Replaced six.assertRaisesRegex with assertRaisesMessage as appropriate.  
						
						
						
						
					 
					
						2016-01-29 13:37:33 -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 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						3c7d2ee881 
					 
					
						
						
							
							Fixed   #25604  -- Added makemigrations --check option.  
						
						... 
						
						
						
						Command exits with non-zero status if changes without migrations exist. 
						
						
					 
					
						2015-10-24 14:45:00 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b6e6fcf326 
					 
					
						
						
							
							Refs  #23359  -- Removed the migrate --list option per deprecation timeline.  
						
						
						
						
					 
					
						2015-09-23 19:31:10 -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 
						 
				 
			
				
					
						
							
							
								Dražen Odobašić 
							
						 
					 
					
						
						
							
						
						b1e33ceced 
					 
					
						
						
							
							Fixed   #23395  -- Limited line lengths to 119 characters.  
						
						
						
						
					 
					
						2015-09-12 11:40:50 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						f45ee19746 
					 
					
						
						
							
							Refs  #24919  -- Raised more helpful error message for disabled migrations  
						
						
						
						
					 
					
						2015-09-12 10:38:15 +10:00 
						 
				 
			
				
					
						
							
							
								Jeremy Satterfield 
							
						 
					 
					
						
						
							
						
						1175027641 
					 
					
						
						
							
							Fixed   #25308  -- Made MigrationQuestioner respect MIGRATION_MODULES setting.  
						
						
						
						
					 
					
						2015-08-26 09:04:00 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						0271a11ba5 
					 
					
						
						
							
							Fixed   #24755  -- Hid operations from dependency apps when merging migrations  
						
						... 
						
						
						
						Thanks Carl Meyer for the report and Tim Graham for the review. 
						
						
					 
					
						2015-08-18 18:33:14 +10:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						de41fbb3cf 
					 
					
						
						
							
							Fixed   #25239  -- Corrected makemigrations numbering if a migration has a number-only filename.  
						
						
						
						
					 
					
						2015-08-14 07:28:37 -04:00 
						 
				 
			
				
					
						
							
							
								mlavin 
							
						 
					 
					
						
						
							
						
						69db1c7455 
					 
					
						
						
							
							Fixed   #25231  -- Added recording of squashed migrations in the migrate command.  
						
						... 
						
						
						
						Ensured squashed migrations are recorded as applied when the
migrate command is run and all of the original migrations
have been previously applied. 
						
						
					 
					
						2015-08-07 17:59:18 -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 
							
						 
					 
					
						
						
							
						
						aaacaeb096 
					 
					
						
						
							
							Renamed RemovedInDjangoXYWarnings for new roadmap.  
						
						... 
						
						
						
						Forwardport of ae1d663b79 
						
						
					 
					
						2015-06-24 16:08:20 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7f1168e387 
					 
					
						
						
							
							Removed support for Python 3.3.  
						
						
						
						
					 
					
						2015-06-18 08:36:50 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						e470f311d6 
					 
					
						
						
							
							Fixed   #24828  -- Allowed migration optimization across AlterFooTogether  
						
						... 
						
						
						
						The idea behind this change is, that AlterUniqueTogether,
AlterIndexTogether and AlterOrderWithRespectTo can always be moved after
an Add/Alter/Rename/RemoveField operation if they don't refer to the
respective field and are not empty sets / None.
Combined with the optimizations of duplicate AlterUniqueTogether,
AlterIndexTogether, and AlterOrderWithRespectTo operations from
128caa1e16 
						
						
					 
					
						2015-06-16 00:43:22 +02:00 
						 
				 
			
				
					
						
							
							
								Curtis Maloney 
							
						 
					 
					
						
						
							
						
						88d7fcebde 
					 
					
						
						
							
							Use mock.patch in migrations tests  
						
						... 
						
						
						
						Currently some of the migrations tests rely on the fact 'input' is aliased
because of six, instead of using mock.patch.  Replace this code with proper
use of mock.patch.
Also, replace one case of excessively specific python version check with
testing six.PY3 
						
						
					 
					
						2015-04-09 11:16:12 +10:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						c5cc332bf2 
					 
					
						
						
							
							Fixed   #24550  -- Added migration operation description to sqlmigrate output  
						
						... 
						
						
						
						Thanks Tim Graham for the review. 
						
						
					 
					
						2015-03-30 16:31:20 +02:00 
						 
				 
			
				
					
						
							
							
								John Giannelos 
							
						 
					 
					
						
						
							
						
						8758a63ddb 
					 
					
						
						
							
							Fixed   #24427  -- Stopped writing migration files in dry run mode when merging.  
						
						... 
						
						
						
						Also added display of migration to stdout when verbosity=3. 
						
						
					 
					
						2015-03-16 14:04:37 -04:00 
						 
				 
			
				
					
						
							
							
								Marten Kenbeek 
							
						 
					 
					
						
						
							
						
						e272904ff7 
					 
					
						
						
							
							Fixed   #23407  -- Extended coverage of makemigrations --noinput option.  
						
						... 
						
						
						
						Changed --noinput option in makemigrations to suppress all user prompts,
not just when combined with --merge. 
						
						
					 
					
						2015-03-08 19:44:14 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						903d1a57ab 
					 
					
						
						
							
							Made migrations tests write to a temporary directory.  
						
						... 
						
						
						
						This is preferrable to writing in the current working directory because
it eliminates the risk to leak unwanted files, which can result in very
weird test failures.
Also this will help if we ever try to run these tests concurrently. 
						
						
					 
					
						2015-02-23 22:22:58 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						307c0f299a 
					 
					
						
						
							
							Refs  #24324  -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters.  
						
						
						
						
					 
					
						2015-02-17 19:03:03 -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 
						 
				 
			
				
					
						
							
							
								Collin Anderson 
							
						 
					 
					
						
						
							
						
						db77915c9f 
					 
					
						
						
							
							Fixed E265 comment style  
						
						
						
						
					 
					
						2015-02-06 09:30:35 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						0ed7d15563 
					 
					
						
						
							
							Sorted imports with isort; refs  #23860 .  
						
						
						
						
					 
					
						2015-02-06 08:16:28 -05:00 
						 
				 
			
				
					
						
							
							
								Collin Anderson 
							
						 
					 
					
						
						
							
						
						faf0d66a80 
					 
					
						
						
							
							Fixed   #23850  -- Fixed a migrations test failure on Mac OS X & Python 3  
						
						
						
						
					 
					
						2015-01-15 19:45:43 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						e08318b4ef 
					 
					
						
						
							
							Refs  #23359  -- Removed double newline from output of migrate --list  
						
						... 
						
						
						
						Thanks Berker Peksag for the review. 
						
						
					 
					
						2015-01-05 14:52:54 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						a1487deebf 
					 
					
						
						
							
							Fixed   #23359  -- Added showmigrations command to list migrations and plan.  
						
						... 
						
						
						
						Thanks to Collin Anderson, Tim Graham, Gabe Jackson, and Marc Tamlyn
for their input, ideas, and review. 
						
						
					 
					
						2014-12-31 14:14:28 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Heap 
							
						 
					 
					
						
						
							
						
						deb607648e 
					 
					
						
						
							
							Fixed   #23728  -- Added the --exit option to makemigrations.  
						
						... 
						
						
						
						If no changes that need migrations are found, `makemigrations --exit`
exits with error code 1. 
						
						
					 
					
						2014-11-28 07:48:39 -05:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						47b7f601ee 
					 
					
						
						
							
							Fixed   #23872  -- Removed sensitivity of migrations tests to CWD.  
						
						
						
						
					 
					
						2014-11-19 15:03:47 -07:00 
						 
				 
			
				
					
						
							
							
								Tillmann Karras 
							
						 
					 
					
						
						
							
						
						d188101319 
					 
					
						
						
							
							Fixed   #23799  -- Made makemigrations respect --no-optimize.  
						
						... 
						
						
						
						Thanks to yamila-moreno for the idea of a skip message. 
						
						
					 
					
						2014-11-18 07:37:06 +01:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						f7969b0920 
					 
					
						
						
							
							Fixed   #23620  -- Used more specific assertions in the Django test suite.  
						
						
						
						
					 
					
						2014-11-03 11:56:37 -05:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						494ba051bb 
					 
					
						
						
							
							Made testing of stdout and stderr more consistent.  
						
						... 
						
						
						
						Refs #23663 . 
						
						
					 
					
						2014-10-22 09:25:50 +07:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						bbc3505ef8 
					 
					
						
						
							
							Removed unneeded override_system_checks  
						
						... 
						
						
						
						Refs #23685 . 
						
						
					 
					
						2014-10-21 20:54:32 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						6d11bb102d 
					 
					
						
						
							
							Revert "Fixed  #23650  -- Prevented migrate from calling checks 3 times"  
						
						... 
						
						
						
						This reverts commit 8d6e1afe0b 
						
						
					 
					
						2014-10-20 17:26:00 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						8d6e1afe0b 
					 
					
						
						
							
							Fixed   #23650  -- Prevented migrate from calling checks 3 times  
						
						... 
						
						
						
						Thanks Ilya Baryshev for the report and Tim Graham for the review. 
						
						
					 
					
						2014-10-17 20:20:56 +02:00 
						 
				 
			
				
					
						
							
							
								Raffaele Salmaso 
							
						 
					 
					
						
						
							
						
						1435cfbe8d 
					 
					
						
						
							
							Fixed   #23302  -- Added --name/-n option to makemigrations command  
						
						
						
						
					 
					
						2014-09-02 21:09:18 -04:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						54164b814c 
					 
					
						
						
							
							Fixed broken tests on Oracle after  5853c87a45.  
						
						... 
						
						
						
						Oracle doesn't have a `BEGIN` statement so the test would
fail.
Refs #23303  
						
						
					 
					
						2014-08-19 17:58:30 +02:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						5853c87a45 
					 
					
						
						
							
							Fixed   #23303  -- Added BEGIN and COMMIT statements to the output of sqlmigrate.  
						
						
						
						
					 
					
						2014-08-18 18:55:12 +02:00 
						 
				 
			
				
					
						
							
							
								Huu Nguyen 
							
						 
					 
					
						
						
							
						
						f7a78f9bba 
					 
					
						
						
							
							Fixed   #22791  -- Invoke interactive questioner only for conflicts in specified apps.  
						
						... 
						
						
						
						Thanks bendavis78 for the report and Tim Graham for the review. 
						
						
					 
					
						2014-07-14 11:00:49 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						908160f692 
					 
					
						
						
							
							Fixed test failures introduced by refs  #22881 .  
						
						
						
						
					 
					
						2014-06-23 09:59:36 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						9a46836a0c 
					 
					
						
						
							
							Moved a line outside of try/except to prevent an error in finally.  
						
						... 
						
						
						
						Thanks Ian Foote. 
						
						
					 
					
						2014-06-20 09:13:34 -04:00 
						 
				 
			
				
					
						
							
							
								Huu Nguyen 
							
						 
					 
					
						
						
							
						
						fbb684d95e 
					 
					
						
						
							
							Fixed   #22862  -- Added --noinput option to makemigrations.  
						
						... 
						
						
						
						Thanks artortenburger for the report. 
						
						
					 
					
						2014-06-20 08:55:02 -04:00