Claude Paroz 
							
						 
					 
					
						
						
							
						
						f46a16614d 
					 
					
						
						
							
							[1.7.x]  Fixed   #24015  -- Factorized create_index_sql expression  
						
						... 
						
						
						
						Backport of 6072f17d0 
						
						
					 
					
						2014-12-18 21:14:29 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						47912d9f2b 
					 
					
						
						
							
							[1.7.x]  Fixed   #24007  -- Ensure apps registry's ready before unpickling models  
						
						... 
						
						
						
						This prevents AppRegistryNotReady errors when unpickling Django
models from an external script.
Backport of 108b8bf85 
						
						
					 
					
						2014-12-17 18:41:12 +01:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						10482faf19 
					 
					
						
						
							
							[1.7.x]  Fixed   #23983  -- Fixed a crash in migrations when adding order_with_respect_to to non-empty table.  
						
						... 
						
						
						
						Backport of 3dbbb8a89c 
						
						
					 
					
						2014-12-16 10:56:35 -05:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						fdf4dc6cea 
					 
					
						
						
							
							[1.7.x]  Fixed   #23405  -- Fixed makemigrations prompt when adding Text/CharField.  
						
						... 
						
						
						
						A default is no longer required.
Backport of d8f3b86a76 
						
						
					 
					
						2014-12-15 14:58:01 -05:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						1690b92b0d 
					 
					
						
						
							
							[1.7.x]  Fixed   #23987  -- Made SQLite SchemaEditor always use effective_default().  
						
						... 
						
						
						
						Backport of 089047331d 
						
						
					 
					
						2014-12-15 13:42:08 -05:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						0a8b911582 
					 
					
						
						
							
							[1.7.x]  Fixed   #23455  -- Accept either bytes or text for related_name, convert to text.  
						
						... 
						
						
						
						Backport of c72eb80d11 
						
						
					 
					
						2014-12-12 13:13:57 -07:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						f8b4cf4022 
					 
					
						
						
							
							[1.7.x] Revert "Fixed  #23455  -- Forced related_name to be a unicode string during deconstruction."  
						
						... 
						
						
						
						This reverts commit 45bd7b3bd98aaf51f94c 
						
						
					 
					
						2014-12-12 13:09:04 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						f446acf8bb 
					 
					
						
						
							
							[1.7.x]  Fixed   #23956  -- Fixed migration creation for multiple table inheritance  
						
						... 
						
						
						
						Backport of 44927ba817 
						
						
					 
					
						2014-12-11 13:28:57 -05:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						991f523753 
					 
					
						
						
							
							[1.7.x]  Fixed   #23969 : Made Oracle default test-tablespace larger.  
						
						... 
						
						
						
						It seems our test suite has grown...
Refs #21775  
						
						
					 
					
						2014-12-07 12:54:04 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						6ba960266a 
					 
					
						
						
							
							[1.7.x]  Fixed   #23954  -- Added special text/varchar PostgreSQL indexes in migrations  
						
						... 
						
						
						
						Thanks adityagupta104 for the report and Tim Graham for the review.
Backport of 8d7a48027e 
						
						
					 
					
						2014-12-04 21:39:32 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d57124433f 
					 
					
						
						
							
							[1.7.x]  Fixed   #23920  -- Fixed MySQL crash when adding blank=True to TextField.  
						
						... 
						
						
						
						Thanks wkornewald for the report and Markus Holtermann for review.
Backport of 765fa36d57 
						
						
					 
					
						2014-12-04 10:59:05 -05:00 
						 
				 
			
				
					
						
							
							
								Gavin Wahl 
							
						 
					 
					
						
						
							
						
						e9975ed3cd 
					 
					
						
						
							
							[1.7.x]  Fixed   #23950  -- Prevented calling deconstruct on classes in MigrationWriter.  
						
						... 
						
						
						
						Backport of dee4d23f7e 
						
						
					 
					
						2014-12-03 08:32:59 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						3a42d9730c 
					 
					
						
						
							
							[1.7.x]  Fixed   #23909  -- Prevented crash when collecting SQL for RunSQL  
						
						... 
						
						
						
						Thanks James Rivett-Carnac for the report and Markus Holtermann
for the review.
Backport of e11c6fd21 
						
						
					 
					
						2014-12-02 09:02:54 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						ba3e976186 
					 
					
						
						
							
							[1.7.x]  Fixed   #23880  -- Added missing index_together handling for SQLite  
						
						... 
						
						
						
						Backport of d2202ec2d4 
						
						
					 
					
						2014-12-01 16:00:36 -05:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						d62e16fe46 
					 
					
						
						
							
							[1.7.x] Restored the 'TEST_' prefix in the warning about deprecated test database settings  
						
						... 
						
						
						
						Backport of 88edce2abb 
						
						
					 
					
						2014-12-01 02:18:16 +02:00 
						 
				 
			
				
					
						
							
							
								Luke Plant 
							
						 
					 
					
						
						
							
						
						8e3c3be32d 
					 
					
						
						
							
							[1.7.x] Fixed bug in circular dependency algo for migration dependencies.  
						
						... 
						
						
						
						Previous algo only worked if the first item was a part of the loop,
and you would get an infinite loop otherwise (see test).
To fix this, it was much easier to do a pre-pass.
A bonus is that you now get an error message that actually helps you debug
the dependency problem.
Backport of ff3d746e8dc5def493d0 
						
						
					 
					
						2014-11-26 08:15:33 +00:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						2d06c112d1 
					 
					
						
						
							
							Revert "[1.7.x]  Fixed   #23892  -- Made deconstructible classes forwards compatible"  
						
						... 
						
						
						
						This reverts commit 8014001d92 
						
						
					 
					
						2014-11-22 22:26:58 -07:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						8014001d92 
					 
					
						
						
							
							[1.7.x]  Fixed   #23892  -- Made deconstructible classes forwards compatible  
						
						... 
						
						
						
						Backport of f36151ed16 
						
						
					 
					
						2014-11-22 14:33:46 -07:00 
						 
				 
			
				
					
						
							
							
								Andrzej Pragacz 
							
						 
					 
					
						
						
							
						
						feded19104 
					 
					
						
						
							
							[1.7.x]  Fixed   #23794  -- Fixed migrations crash when removing a field that's part of index/unique_together.  
						
						... 
						
						
						
						Backport of 72729f844e 
						
						
					 
					
						2014-11-21 10:57:38 -05:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						01f2cf2aec 
					 
					
						
						
							
							[1.7.x]  Fixed   #23605  -- Fixed nested subquery regression  
						
						... 
						
						
						
						Added relabeled_clone() method to sql.Query to fix the problem. It
manifested itself in rare cases where at least double nested subquery's
filter condition might target non-existing alias.
Thanks to Trac alias ris for reporting the problem.
Backport of 5c481db295 
						
						
					 
					
						2014-11-20 13:53:28 -05:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						03e8c18288 
					 
					
						
						
							
							[1.7.x]  Fixed   #23410  -- Avoided unnecessary rollbacks in related apps when migrating backwards.  
						
						... 
						
						
						
						Backport of ab2819aa7b 
						
						
					 
					
						2014-11-19 16:15:05 -07:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						ac359dc771 
					 
					
						
						
							
							[1.7.x]  Fixed   #21794  -- Removed deprecation warning for abstract models outside an app.  
						
						... 
						
						
						
						Backport of e7b9a58b08 
						
						
					 
					
						2014-11-19 15:56:25 -07:00 
						 
				 
			
				
					
						
							
							
								Stratos Moros 
							
						 
					 
					
						
						
							
						
						50434aebe2 
					 
					
						
						
							
							[1.7.x]  Fixed   #22248  -- Made RenameModel reversible  
						
						... 
						
						
						
						Backport of cf7a2a000e 
						
						
					 
					
						2014-11-19 09:51:07 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						03d983f7c3 
					 
					
						
						
							
							[1.7.x]  Fixed   #23859  -- Fixed a migration crash when a field is renamed that is part of an index_together  
						
						... 
						
						
						
						Backport of 7b4a994599 
						
						
					 
					
						2014-11-17 15:57:19 -07:00 
						 
				 
			
				
					
						
							
							
								twidi 
							
						 
					 
					
						
						
							
						
						49d4095767 
					 
					
						
						
							
							[1.7.x] Avoided unneeded calls to state.render() in migrations.  
						
						... 
						
						
						
						Backport of 19ae13d9ed 
						
						
					 
					
						2014-11-17 18:45:21 +01:00 
						 
				 
			
				
					
						
							
							
								twidi 
							
						 
					 
					
						
						
							
						
						4fbeec5631 
					 
					
						
						
							
							[1.7.x] Reordered condition to avoid calling allow_migrate() if unneeded.  
						
						... 
						
						
						
						Backport of 82aca216e1 
						
						
					 
					
						2014-11-17 18:34:36 +01:00 
						 
				 
			
				
					
						
							
							
								Adam DePue 
							
						 
					 
					
						
						
							
						
						2d12a59938 
					 
					
						
						
							
							[1.7.x]  Fixed   #23761  -- Fixed crash with MySQL validator and db_type is None.  
						
						... 
						
						
						
						The issue was fixed on master in e9103402c0 
						
						
					 
					
						2014-11-13 11:03:01 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						1f50ea730e 
					 
					
						
						
							
							[1.7.x]  Fixed   #23770  -- Changed serialization strategy for floats with respect to NaN and Inf  
						
						... 
						
						
						
						Thanks to w0rp for the report
Backport of c7c098cf97 
						
						
					 
					
						2014-11-06 15:31:30 +01:00 
						 
				 
			
				
					
						
							
							
								Andy Chosak 
							
						 
					 
					
						
						
							
						
						12e5b87b89 
					 
					
						
						
							
							[1.7.x]  Fixed   #23420  - broken warning for unbound naive datetime objects  
						
						... 
						
						
						
						Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
Backport of ceb1ffcc8d 
						
						
					 
					
						2014-11-03 15:59:17 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						40ad022d5e 
					 
					
						
						
							
							[1.7.x]  Fixed   #23738  -- Allowed migrating from NULL to NOT NULL with the same default value  
						
						... 
						
						
						
						Thanks to Andrey Antukh for the report.
Backport of 715ccfde24 
						
						
					 
					
						2014-10-31 13:30:56 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						21358e7225 
					 
					
						
						
							
							[1.7.x]  Fixed   #23614  -- Changed the way the migration autodetector orders unique/index_together  
						
						... 
						
						
						
						Thanks to Naddiseo for the report and Tim Graham for the review
Backport of 5c9c1e029d 
						
						
					 
					
						2014-10-29 13:16:23 -04:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						d73c7e5db6 
					 
					
						
						
							
							[1.7.x] Limited lines to 119 characters in django/{contrib,db}.  
						
						... 
						
						
						
						Refs #23395 .
Backport of c9178ef17a 
						
						
					 
					
						2014-10-29 08:01:35 -04:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						0a4183dfe6 
					 
					
						
						
							
							[1.7.x] Fixed typo in MySQL backend doctring  
						
						... 
						
						
						
						Thanks CHI Cheng for the report. 
						
						
					 
					
						2014-10-27 14:03:15 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						b42930e4b7 
					 
					
						
						
							
							[1.7.x]  Fixed   #23446  -- Officially recommended mysqlclient as MySQL driver  
						
						... 
						
						
						
						Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
Backport of 7f089ac2e3 
						
						
					 
					
						2014-10-27 09:17:31 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7750fc8fa8 
					 
					
						
						
							
							[1.7.x]  Fixed   #23702  -- Fixed adding an explicit id field on SQLite.  
						
						... 
						
						
						
						Thanks gavinwahl for the report.
Backport of 92269b7b53 
						
						
					 
					
						2014-10-23 14:35:55 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						f70a733abc 
					 
					
						
						
							
							[1.7.x]  Fixed   #23630  -- Made AlterModelTable rename auto-created M2M tables.  
						
						... 
						
						
						
						Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
Backport of 41b337efa0 
						
						
					 
					
						2014-10-23 08:51:08 -04:00 
						 
				 
			
				
					
						
							
							
								Tianyi Wang 
							
						 
					 
					
						
						
							
						
						3f3bed8fb9 
					 
					
						
						
							
							[1.7.x]  Fixed   #23629  -- Allowed autodetector to detect changes in Meta.db_table.  
						
						... 
						
						
						
						Thanks Naddiseo for reporting.
Backport of 5732424bee 
						
						
					 
					
						2014-10-20 13:15:34 -04:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						a1578055e6 
					 
					
						
						
							
							[1.7.x]  Fixed   #23649  -- Made Oracle test-db creation drop test-user earlier when needed  
						
						... 
						
						
						
						Checked database destruction for ORA-29857, which happens when objects of
some types are left over in an old test database (notably, such objects
are created by the GIS backend). When this happens, we can resolve the
issue by dropping the test-user (if we are allowed to).
An alternative approach, to just switch the order of creation (so that,
if the test user exists and can be dropped, it is always dropped before
the tablespace) was considered; but since the user creation depends on
the tablespace, this would necessitate separating the dropping of the user
from its creation -- a change I am reluctant to make.
Thanks Josh Smeaton and Tim Graham for reviews.
Backport of 2e1ed5f33c 
						
						
					 
					
						2014-10-17 04:58:31 +03:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						71988ed953 
					 
					
						
						
							
							[1.7.x]  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.
Backport of f633ba778d 
						
						
					 
					
						2014-10-09 22:41:27 +07:00 
						 
				 
			
				
					
						
							
							
								Rudy Mutter 
							
						 
					 
					
						
						
							
						
						e31be40f16 
					 
					
						
						
							
							[1.7.x]  Fixed   #23365  -- Added support for timezone-aware datetimes to migrations.  
						
						... 
						
						
						
						Backport of a407b846b4 
						
						
					 
					
						2014-10-09 22:39:17 +07:00 
						 
				 
			
				
					
						
							
							
								André Ericson 
							
						 
					 
					
						
						
							
						
						fa4b6482df 
					 
					
						
						
							
							[1.7.x]  Fixed   #23611  -- update_or_create failing from a related manager  
						
						... 
						
						
						
						Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
Conflicts:
	tests/generic_relations/tests.py
	tests/get_or_create/tests.py
Backport of ed37f7e979 
						
						
					 
					
						2014-10-08 04:55:47 +07:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						7355885ef5 
					 
					
						
						
							
							[1.7.x]  Fixed   #23560  -- Fixed MigrationWrite to handle builtin types without imports.  
						
						... 
						
						
						
						Thanks Tim Graham for the review.
Backport of b23d47412c 
						
						
					 
					
						2014-09-27 00:40:35 +07:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						e8a08514de 
					 
					
						
						
							
							[1.7.x]  Fixed   #23455  -- Forced related_name to be a unicode string during deconstruction.  
						
						... 
						
						
						
						Backport of 45bd7b3bd9 
						
						
					 
					
						2014-09-25 17:50:50 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						1dec42822c 
					 
					
						
						
							
							[1.7.x]  Fixed   #23538  -- Added SchemaEditor for MySQL GIS.  
						
						... 
						
						
						
						Thanks Claude Paroz for suggestions and review.
Backport of 74e7f91e6d 
						
						
					 
					
						2014-09-25 14:36:31 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						00c2a721e2 
					 
					
						
						
							
							[1.7.x]  Fixed   #23415  -- Added fields for unmanaged and proxy model migrations.  
						
						... 
						
						
						
						Thanks sky-chen for the report.
Backport of 215aa4f53b 
						
						
					 
					
						2014-09-25 10:28:11 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d7b32d3120 
					 
					
						
						
							
							[1.7.x] Revert "Fixed  #23474  -- Prevented migrating backwards from unapplying the wrong migrations."  
						
						... 
						
						
						
						Backport of d7ab2cefb7 
						
						
					 
					
						2014-09-24 15:56:24 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						ae14c75014 
					 
					
						
						
							
							[1.7.x]  Fixed   #23426  -- Don't require double percent sign in RunSQL without parameters  
						
						... 
						
						
						
						Backport of b9a670b227 
						
						
					 
					
						2014-09-24 07:21:50 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						991ec655b6 
					 
					
						
						
							
							[1.7.x]  Fixed   #23503  -- Fixed renaming of model with self-referential m2m field.  
						
						... 
						
						
						
						Backport of 463952d940 
						
						
					 
					
						2014-09-23 10:12:10 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						58d7b84d53 
					 
					
						
						
							
							[1.7.x]  Fixed   #23065  -- Quoted constraint names in SQL generated by migrations.  
						
						... 
						
						
						
						Backport of 83cd18633f 
						
						
					 
					
						2014-09-23 10:11:58 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						09b5ff64b8 
					 
					
						
						
							
							[1.7.x] Factored create_fk_sql, create_unique_sql, and delete_constraint_sql.  
						
						... 
						
						
						
						Backport of 0bea6c8749 
						
						
					 
					
						2014-09-23 10:11:29 -04:00