Tim Graham 
							
						 
					 
					
						
						
							
						
						6109a04251 
					 
					
						
						
							
							[1.11.x] Fixed a backends test with psycopg2 2.7.  
						
						... 
						
						
						
						Backport of 49a63d08d3 
						
						
					 
					
						2017-03-01 13:20:23 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						fae56427e1 
					 
					
						
						
							
							Fixed   #27649  -- Bumped required cx_Oracle to 5.2.  
						
						... 
						
						
						
						Removed obsolete workarounds from 1aa4889808dcf3be7a62 
						
						
					 
					
						2016-12-29 12:45:25 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						e744c7e459 
					 
					
						
						
							
							Imported specific models in a few tests that didn't.  
						
						
						
						
					 
					
						2016-12-08 11:14:15 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b5f0b3478d 
					 
					
						
						
							
							Fixed   #27579  -- Added aliases for Python 3's assertion names in SimpleTestCase.  
						
						
						
						
					 
					
						2016-12-07 17:42:31 -05:00 
						 
				 
			
				
					
						
							
							
								za 
							
						 
					 
					
						
						
							
						
						321e94fa41 
					 
					
						
						
							
							Refs  #27392  -- Removed "Tests that", "Ensures that", etc. from test docstrings.  
						
						
						
						
					 
					
						2016-11-10 21:30:21 -05:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						7ca3b391b6 
					 
					
						
						
							
							Fixed   #27170  -- Added DatabaseWrapper class attributes to ease subclassing.  
						
						
						
						
					 
					
						2016-09-08 16:33:36 -04:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						9fed4ec418 
					 
					
						
						
							
							Removed an obsolete comment about a fixed ticket.  
						
						
						
						
					 
					
						2016-05-21 15:42:38 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						92053acbb9 
					 
					
						
						
							
							Fixed E128 flake8 warnings in tests/.  
						
						
						
						
					 
					
						2016-04-08 10:12:33 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						97eb3356b2 
					 
					
						
						
							
							Fixed   #26177  -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.  
						
						
						
						
					 
					
						2016-02-08 07:21:54 -05:00 
						 
				 
			
				
					
						
							
							
								Hasan 
							
						 
					 
					
						
						
							
						
						3d0dcd7f5a 
					 
					
						
						
							
							Refs  #26022  -- Used context manager version of assertRaises in tests.  
						
						
						
						
					 
					
						2016-01-29 12:32:18 -05:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						f91b5a7e4b 
					 
					
						
						
							
							Fixed   #26063  -- Crash when passing > 2000 params.  
						
						... 
						
						
						
						If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True. 
						
						
					 
					
						2016-01-21 10:47:15 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						1c5f4e86bc 
					 
					
						
						
							
							Fixed   #25745  -- Promoted RuntimeWarnings to errors in the test suite.  
						
						
						
						
					 
					
						2015-11-14 11:33:28 -05:00 
						 
				 
			
				
					
						
							
							
								Riccardo Magliocchetti 
							
						 
					 
					
						
						
							
						
						3543fec3b7 
					 
					
						
						
							
							Refs  #12118  -- Allowed "mode=memory" in SQLite test database names.  
						
						
						
						
					 
					
						2015-10-06 12:32:05 -04:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						4f6a7663bc 
					 
					
						
						
							
							Refs  #14091  -- Fixed connection.queries on SQLite.  
						
						
						
						
					 
					
						2015-09-17 23:01:33 +02:00 
						 
				 
			
				
					
						
							
							
								Dražen Odobašić 
							
						 
					 
					
						
						
							
						
						b1e33ceced 
					 
					
						
						
							
							Fixed   #23395  -- Limited line lengths to 119 characters.  
						
						
						
						
					 
					
						2015-09-12 11:40:50 -04:00 
						 
				 
			
				
					
						
							
							
								Adam Chainz 
							
						 
					 
					
						
						
							
						
						b2f6e421a3 
					 
					
						
						
							
							Fixed   #25329  -- Prevented _nodb_connection from being left open  
						
						
						
						
					 
					
						2015-09-11 08:40:43 +02:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						05cea7fdbb 
					 
					
						
						
							
							Changed database connection duplication technique.  
						
						... 
						
						
						
						This new technique is more straightforward and compatible with test
parallelization, where the effective database connection settings no
longer match settings.DATABASES. 
						
						
					 
					
						2015-09-09 23:03:51 +02:00 
						 
				 
			
				
					
						
							
							
								Maxime Lorant 
							
						 
					 
					
						
						
							
						
						5153a3bfdc 
					 
					
						
						
							
							Fixed   #25331  -- Removed trailing blank lines in docstrings.  
						
						
						
						
					 
					
						2015-08-31 17:37:21 -04:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						ec9004728e 
					 
					
						
						
							
							Fixed   #25175  -- Renamed the postgresql_psycopg2 database backend to postgresql.  
						
						
						
						
					 
					
						2015-08-07 09:33:17 -04:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						071801ccff 
					 
					
						
						
							
							Cleanup: Removed the try-except-fail antipattern from tests  
						
						... 
						
						
						
						Found cases where testing code was doing
    try:
        whatever
    except (some excption type):
        self.fail("exception shouldn't be thrown")
replaced it with just
    whatever
as this makes the unexpected errors easier to debug, and the tests
would fail just as much and aren't rendered less readable.
Thanks Markus Holtermann for review 
						
						
					 
					
						2015-06-05 12:57:20 +03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						be67400b47 
					 
					
						
						
							
							Refs  #24652  -- Used SimpleTestCase where appropriate.  
						
						
						
						
					 
					
						2015-05-20 13:46:13 -04:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						ed83881e64 
					 
					
						
						
							
							Fixed   #23820  -- Supported per-database time zone.  
						
						... 
						
						
						
						The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.
Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error. 
						
						
					 
					
						2015-05-17 09:40:28 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						3226050358 
					 
					
						
						
							
							Fixed   #24791  -- Added fallback when 'postgres' database isn't available  
						
						... 
						
						
						
						Thanks Carl Meyer and Tim Graham for the reviews. 
						
						
					 
					
						2015-05-15 18:44:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						8f30556329 
					 
					
						
						
							
							Renamed Field.rel attribute to remote_field  
						
						... 
						
						
						
						Field.rel is now deprecated. Rel objects have now also remote_field
attribute. This means that self == self.remote_field.remote_field.
In addition, made the Rel objects a bit more like Field objects. Still,
marked ManyToManyFields as null=True. 
						
						
					 
					
						2015-03-25 08:16:12 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						3adc5f1ee6 
					 
					
						
						
							
							Fixed   #24335  -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).  
						
						
						
						
					 
					
						2015-02-16 18:07:27 -05:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						76356d963c 
					 
					
						
						
							
							Fixed   #24318  -- Set the transaction isolation level with psycopg >= 2.4.2.  
						
						
						
						
					 
					
						2015-02-14 18:51:11 +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 
						 
				 
			
				
					
						
							
							
								Josh Smeaton 
							
						 
					 
					
						
						
							
						
						8196e4bdf4 
					 
					
						
						
							
							Fixed   #24154  -- Backends can now check support for expressions  
						
						
						
						
					 
					
						2015-01-27 12:20:06 +11:00 
						 
				 
			
				
					
						
							
							
								Adam Taylor 
							
						 
					 
					
						
						
							
						
						039465a6a7 
					 
					
						
						
							
							Fixed typos in code comments.  
						
						
						
						
					 
					
						2015-01-20 12:18:03 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						f635d75935 
					 
					
						
						
							
							Removed support for old-style test database settings per deprecation timeline.  
						
						
						
						
					 
					
						2015-01-17 09:55:18 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						28308078f3 
					 
					
						
						
							
							Fixed   #22603  -- Reorganized classes in django.db.backends.  
						
						
						
						
					 
					
						2015-01-14 14:16:20 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Pyrathon 
							
						 
					 
					
						
						
							
						
						fb48eb0581 
					 
					
						
						
							
							Fixed   #12663  -- Formalized the Model._meta API for retrieving fields.  
						
						... 
						
						
						
						Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch! 
						
						
					 
					
						2015-01-06 19:25:12 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						51890ce889 
					 
					
						
						
							
							Applied ignore_warnings to Django tests  
						
						
						
						
					 
					
						2014-12-30 18:16:25 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						c6b12bc995 
					 
					
						
						
							
							Removed unused import.  
						
						
						
						
					 
					
						2014-12-30 10:23:29 -05:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						8c99b7920e 
					 
					
						
						
							
							Fixed   #12118  -- Added shared cache support to SQLite in-memory testing.  
						
						
						
						
					 
					
						2014-12-30 10:14:33 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						3c5d1edb39 
					 
					
						
						
							
							Fixed   #22279  -- Prevented dummy backend going through DatabaseErrorWrapper  
						
						... 
						
						
						
						Thanks Daniel Hahler for the report and Tim Graham for the review. 
						
						
					 
					
						2014-12-29 19:06:28 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						30cbd5d360 
					 
					
						
						
							
							Replaced DatabaseCreation sql methods by schema editor equivalents  
						
						... 
						
						
						
						Also used schema editor in migrate to sync unmigrated apps (sync_apps).
Refs #22340 . Thanks Tim Graham for the review. 
						
						
					 
					
						2014-12-23 19:35:01 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Hall 
							
						 
					 
					
						
						
							
						
						895dc880eb 
					 
					
						
						
							
							Fixed   #23812  -- Changed django.utils.six.moves.xrange imports to range  
						
						
						
						
					 
					
						2014-12-13 12:45:58 -05:00 
						 
				 
			
				
					
						
							
							
								Josh Smeaton 
							
						 
					 
					
						
						
							
						
						267a1dcd9b 
					 
					
						
						
							
							Fixed   #23941  -- Removed implicit decimal formatting from expressions.  
						
						
						
						
					 
					
						2014-12-12 10:17:48 -05:00 
						 
				 
			
				
					
						
							
							
								Thomas Chaumeny 
							
						 
					 
					
						
						
							
						
						da9fe5c717 
					 
					
						
						
							
							Fixed   #20392  -- Added TestCase.setUpTestData()  
						
						... 
						
						
						
						Each TestCase is also now wrapped in a class-wide transaction. 
						
						
					 
					
						2014-12-03 10:37:04 -05:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						1739ae9edc 
					 
					
						
						
							
							Fixed   #23807  -- Ignored non-digits in psycopg2 version  
						
						
						
						
					 
					
						2014-12-01 18:42:08 -05:00 
						 
				 
			
				
					
						
							
							
								Veres Lajos 
							
						 
					 
					
						
						
							
						
						a71a2ea756 
					 
					
						
						
							
							Fixed typos using  https://github.com/vlajos/misspell_fixer  
						
						
						
						
					 
					
						2014-11-03 20:59:30 -05:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						f7969b0920 
					 
					
						
						
							
							Fixed   #23620  -- Used more specific assertions in the Django test suite.  
						
						
						
						
					 
					
						2014-11-03 11:56:37 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						abc11b0a33 
					 
					
						
						
							
							Fixed   #23514  -- Prevented queries in PostGISOperations init  
						
						... 
						
						
						
						Thanks Mattia Procopio for the report. 
						
						
					 
					
						2014-09-18 20:00:35 +02:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						e9103402c0 
					 
					
						
						
							
							Fixed   #18757 ,  #14462 ,  #21565  -- Reworked database-python type conversions  
						
						... 
						
						
						
						Complete rework of translating data values from database
Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.
Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews. 
						
						
					 
					
						2014-09-03 20:36:03 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d28396f526 
					 
					
						
						
							
							Fixed   #23144  -- Dropped support for MySQL 5.0, 5.1.  
						
						
						
						
					 
					
						2014-08-02 10:28:40 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						a9bdce7e55 
					 
					
						
						
							
							Fixed   #23108  -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.  
						
						... 
						
						
						
						Thanks Claude Paroz for the review. 
						
						
					 
					
						2014-08-01 10:26:00 -04:00 
						 
				 
			
				
					
						
							
							
								Anubhav Joshi 
							
						 
					 
					
						
						
							
						
						91f1b6dcdc 
					 
					
						
						
							
							Fixed   #13711  -- Model check added to ensure that auto-generated column name is within limits of the database.  
						
						... 
						
						
						
						Thanks russellm for report and Tim Graham for review. 
						
						
					 
					
						2014-06-17 16:16:02 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						a2cd0e12c9 
					 
					
						
						
							
							Silenced deprecation warnings for refs  #22811  and fixed build.  
						
						
						
						
					 
					
						2014-06-12 09:28:36 -04:00