Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/db/backends
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25611 -- Standardized descriptor signatures.Tim Graham2015-10-261-1/+1
|
* Fixed #25470 -- Avoided unnecessary, expensive DATETIME ↵Mariusz Felisiak2015-10-221-10/+8
| | | | typecast on MySQL.
* Fixed #22705 -- Fixed QuerySet.bulk_create() on models ↵Tim Graham2015-10-091-0/+3
| | | | | | | | without any fields on Oracle. Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01. Thanks Mariusz Felisiak for the solution.
* Refs #12118 -- Allowed "mode=memory" in SQLite test ↵Riccardo Magliocchetti2015-10-061-3/+5
| | | | database names.
* Fixed #25421 -- Fixed test --keepdb option on Oracle.Mariusz Felisiak2015-09-271-17/+35
|
* Fixed #25196 -- Normalized database representations in ↵Ville Skyttä2015-09-255-22/+38
| | | | | | test database messages. Left over Oracle mostly as-is since it's more complicated.
* Fixed #24509 -- Added Expression support to ↵Alex Hill2015-09-225-17/+19
| | | | SQLInsertCompiler
* Refs #17785 -- Made docstring for sqlite3's ↵Hynek Cernoch2015-09-181-3/+2
| | | | get_relations() consistent with other backends.
* Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin2015-09-171-0/+33
|
* Fixed #25393 -- Fixed MySQL crash when adding text/blob ↵Ville Skyttä2015-09-141-1/+2
| | | | field with unhashable default.
* Fixed #25329 -- Prevented _nodb_connection from being ↵Adam Chainz2015-09-112-3/+3
| | | | left open
* Enabled parallel testing by default in runtests.py.Aymeric Augustin2015-09-104-0/+7
|
* Changed database connection duplication technique.Aymeric Augustin2015-09-091-0/+14
| | | | | | This new technique is more straightforward and compatible with test parallelization, where the effective database connection settings no longer match settings.DATABASES.
* Cloned databases for running tests in parallel.Aymeric Augustin2015-09-094-4/+146
|
* Updated references to the TEST_* database settings.Aymeric Augustin2015-09-051-1/+1
| | | | | | | | They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-2/+3
|
* Fixed #25180 -- Prevented varchar_patterns_ops and ↵Caio Ariede2015-08-151-0/+5
| | | | text_patterns_ops indexes for ArrayField.
* Refs #25175 -- Added backwards compatibility for ↵Caio Ariede2015-08-0710-0/+9
| | | | importing postgresql_psycopg2 backend.
* Fixed #25175 -- Renamed the postgresql_psycopg2 database ↵Caio Ariede2015-08-0710-0/+0
| | | | backend to postgresql.
* Fixed #25128 -- Fixed SQLite SchemaEditor crash when ↵Tim Graham2015-07-151-3/+3
| | | | adding a ForeignObject field.
* Fixed #23658 -- Provided the password to PostgreSQL ↵Jean-Michel Vourgère2015-07-011-10/+57
| | | | | | | | dbshell command The password from settings.py is written in a temporary .pgpass file file whose name is given to psql using the PGPASSFILE environment variable.
* Removed datetime_cast_sql, which is never overridden or ↵Shai Berger2015-06-301-9/+0
| | | | | | used anywhere in Django. Thanks Tim Graham for review.
* Fixed #21803 -- Added support for post-commit callbacksAndreas Pelme2015-06-301-2/+66
| | | | | | | | | Made it possible to register and run callbacks after a database transaction is committed with the `transaction.on_commit()` function. This patch is heavily based on Carl Meyers django-transaction-hooks <https://django-transaction-hooks.readthedocs.org/>. Thanks to Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
* Fixed #24887 -- Removed one-arg limit from models.aggregateGreg Chapple2015-06-271-11/+13
|
* Refs #25002 -- Supported textual to temporal column ↵Simon Charette2015-06-251-12/+27
| | | | | | alteration on Oracle. Thanks to Tim Graham for the report and Shai Berger for the review.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-244-10/+10
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #25002 -- Used PostgreSQL column type alteration ↵Simon Charette2015-06-221-0/+3
| | | | | | USING clause. Thanks to Dirk Uys for the report.
* Changed Oracle's test-database-creation to use an ↵Shai Berger2015-06-201-6/+33
| | | | | | | | | | explicit main-db-connection rather than just relying on manipulation of settings to determine which invocation of connection.cursor() opens a connection to the test database and which opens a connection to the main database. Thanks Aymeric Augustin for motivation and Tim Graham for review.
* Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann2015-06-191-9/+11
| | | | Thanks to Tim Graham and Claude Paroz for the reviews and patches.
* Removed support for Python 3.3.Tim Graham2015-06-181-3/+2
|
* Fixed #24972 -- Fixed removing unique_together indexes ↵Adam Brenecki2015-06-151-4/+2
| | | | on MySQL.
* Fixed flake8 warnings on Python 3.Tim Graham2015-06-151-1/+1
|
* Imported sqlite3 instead of _sqlite3Sagar Mittal2015-06-061-3/+3
| | | | | | adapt and ProgrammingError are both available on the sqlite3 module. There's no need to import the internal _sqlite3 module.
* Fixed #24767 -- Added Greatest and Least expressionsIan Foote2015-06-052-0/+5
| | | | Greatest and Least are row-level Function versions of Min and Max.
* Fixed #19542: Made mirroring databases for tests work ↵Shai Berger2015-06-052-0/+15
| | | | | | | | | with Oracle No tests are provided because there is no sane way to test database settings within the Django test suite. Thanks Aymeric Augustin for review.
* Fixed #22316 -- Added time filters to TimeField on SQLite.Matthew Somerville2015-06-053-0/+25
| | | | | This was implemented for non-SQLite backends in 1.7 (as a side effect of #16187).
* Fixed #24893 -- Fixed lack of unique constraint when ↵Tim Graham2015-06-021-1/+3
| | | | changing a field from primary_key=True to unique=True
* Fixed #24892 -- Fixed quoting of SQL when renaming a ↵Tim Graham2015-06-021-8/+8
| | | | field to AutoField in PostgreSQL
* Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne2015-06-026-49/+68
|
* Fixed #24699 -- Added aggregate support for ↵Josh Smeaton2015-05-313-4/+24
| | | | DurationField on Oracle
* Fixed #24846 -- Added support to MySQL SchemaEditor for ↵Adam Chainz2015-05-311-3/+10
| | | | all blob/text data types
* Fixed #24817 -- Prevented loss of null info in MySQL ↵Andriy Sokolovskiy2015-05-282-9/+23
| | | | field renaming.
* Well, what should I say: UPS.Florian Apolloner2015-05-241-1/+0
|
* Fixed #24844 -- Corrected has_changed implementation for ↵Andrea Grandi2015-05-241-0/+1
| | | | HStoreField.
* Dropped the needs_datetime_string_cast feature.Aymeric Augustin2015-05-173-5/+0
| | | | It has been superseded by the converter infrastructure.
* Fixed #23820 -- Supported per-database time zone.Aymeric Augustin2015-05-177-11/+70
| | | | | | | | | 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.
* Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin2015-05-175-25/+25
| | | | | This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.
* Removed global timezone-aware datetime adapters.Aymeric Augustin2015-05-175-40/+52
| | | | | | | | | | Refs #23820. Fixed #19738. Refs #17755. In order not to introduce a regression for raw queries, parameters are passed through the connection.ops.value_to_db_* methods, depending on their type.
* Normalized the implementation of get_db_converters.Aymeric Augustin2015-05-174-35/+40
| | | | Put the types in the same order and checked for None consistently.
* Removed global timezone-aware datetime converters.Aymeric Augustin2015-05-177-45/+35
| | | | Refs #23820.