summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2015-06-19Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-06-19Fixed #24940 -- Made model managers hashableMarkus Holtermann
Thanks Federico Jaramillo Martínez for the report and Tim Graham for the test and review.
2015-06-18Fixed #24873 -- Prevented nested Prefetch objects from being overwritten.Gagaro
2015-06-18Removed support for Python 3.3.Tim Graham
2015-06-16Sorted reduce methods in migration optimizerMarkus Holtermann
Thanks Tim Graham for the review.
2015-06-16Fixed #24828 -- Allowed migration optimization across AlterFooTogetherMarkus Holtermann
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 128caa1e16ec2627737748f75c8e55600a3df97f, these operations are optimized in a later round of the optimizer. Thanks Tim Graham for the review.
2015-06-15Fixed #24972 -- Fixed removing unique_together indexes on MySQL.Adam Brenecki
2015-06-15Fixed #24979 -- Removed usage of inspect.getargspec().Tim Graham
2015-06-15Removed django.utils.functional.total_ordering()Tim Graham
2015-06-15Fixed flake8 warnings on Python 3.Tim Graham
2015-06-15Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keysBrian King
This resolves a problem on databases besides PostgreSQL when using prefetch_related with a source model that uses a UUID primary key.
2015-06-14Changed reduce method lookup in migration optimizer to dictMarkus Holtermann
Thanks Andrew Godwin and Simon Charette for the review.
2015-06-14Explicitly imported migration operations in optimizerMarkus Holtermann
Thanks Andrew Godwin for the review.
2015-06-14Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRTMarkus Holtermann
Thanks Andrew Godwin for the review.
2015-06-14Took AlterOrderWithRespectTo into account when optimizing migrationsMarkus Holtermann
Thanks Andrew Godwin for the review.
2015-06-06Fixed #24859 -- Made QuerySet.get() with UUIDField raise TypeError on bad value.Cole Maclean
For consistency with AutoField.
2015-06-06Imported sqlite3 instead of _sqlite3Sagar Mittal
adapt and ProgrammingError are both available on the sqlite3 module. There's no need to import the internal _sqlite3 module.
2015-06-06Fixed #24744 - Fixed relabeled_clone for the TransformAndriy Sokolovskiy
2015-06-05Fixed #24924 -- Join promotion for multiple Case expressionsMark Lavin
2015-06-05Minor edits to Greatest/Least docs; refs #24767.Tim Graham
2015-06-05Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()."Andriy Sokolovskiy
Partial forwardport of 469f1e362bb9670b174b37da9edd4631aff7badb from stable/1.8.x as the issue was already fixed in master.
2015-06-05Fixed #24767 -- Added Greatest and Least expressionsIan Foote
Greatest and Least are row-level Function versions of Min and Max.
2015-06-05Fixed #19542: Made mirroring databases for tests work with OracleShai Berger
No tests are provided because there is no sane way to test database settings within the Django test suite. Thanks Aymeric Augustin for review.
2015-06-04Fixed #24899 -- Split migrations autodetector._detect_changes() methodSteadman
2015-06-04Fixed #22316 -- Added time filters to TimeField on SQLite.Matthew Somerville
This was implemented for non-SQLite backends in 1.7 (as a side effect of #16187).
2015-06-04Fixed #24677 -- Made TextField.to_python() return a string.Rolo
This is consistent with CharField.
2015-06-03Cleaned up docstring style, per Tim Graham review.Carl Meyer
2015-06-03Refs #24628 -- Added a second test and a docstring comment to avoid regression.Carl Meyer
2015-06-02Fixed #24628 -- Fixed applied status for squashed migrations.Carl Meyer
2015-06-02Fixed #24866 -- Added Now() database functionAdam Chainz
2015-06-02Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency.Carl Meyer
2015-06-02Fixed #24831 -- Fixed pickling queryset with prefetch_related() after ↵Andriy Sokolovskiy
deleting objects.
2015-06-02Fixed #24893 -- Fixed lack of unique constraint when changing a field from ↵Tim Graham
primary_key=True to unique=True
2015-06-02Fixed #24892 -- Fixed quoting of SQL when renaming a field to AutoField in ↵Tim Graham
PostgreSQL
2015-06-02Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne
2015-06-01Fixed #24883 -- Added MigrationGraph.__repr__()Yoong Kang Lim
2015-05-30Fixed #24699 -- Added aggregate support for DurationField on OracleJosh Smeaton
2015-05-30Fixed #24846 -- Added support to MySQL SchemaEditor for all blob/text data typesAdam Chainz
2015-05-28Fixed #24817 -- Prevented loss of null info in MySQL field renaming.Andriy Sokolovskiy
2015-05-26Fixed #24340 -- Added nested deconstruction for list, tuple and dict valuesMatt Westcott
Nested deconstruction should recursively deconstruct items within list, tuple and dict values.
2015-05-25Fixed #24835 -- Fixed QuerySet.exists() after an annotation with Count()Paweł Marczewski
QuerySet.exists() incorrectly handled query.group_by = True case (grouping by all select fields), causing GROUP BY expressions to be wiped along with select fields.
2015-05-25Fixed #24848 -- Fixed ValueError for faulty migrations module.Marten Kenbeek
Added apps to unmigrated apps if the migrations module is a file or a folder missing __init__.py. Thanks to Ernest0x for the bug report.
2015-05-24Well, what should I say: UPS.Florian Apolloner
2015-05-24Fixed #24844 -- Corrected has_changed implementation for HStoreField.Andrea Grandi
2015-05-22Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted ↵Alexander Sosnovskiy
objects.
2015-05-20Fixed #24705 -- Fixed negated Q objects in expressions.Anssi Kääriäinen
Avoided split_exclude() for Q when used as an expression.
2015-05-19Fixed #24818 -- Prevented models.CharField from accepting a string as max_lengthAlasdair Nicol
2015-05-17Dropped the needs_datetime_string_cast feature.Aymeric Augustin
It has been superseded by the converter infrastructure.
2015-05-17Fixed #23820 -- Supported per-database time zone.Aymeric Augustin
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-17Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin
This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.