summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2016-04-19Fixed #26475 -- Added functools.partial() support to migrations autodetector.Matthew Schinckel
2016-04-18Fixed #26498 -- Fixed TimeField microseconds round-tripping on MySQL and SQLite.Lukasz Wiecek
Thanks adamchainz for the report and review.
2016-04-13Fixed #26486 -- Fixed a select_related() + defer() MTI edge case.Tim Graham
2016-04-13Refs #16508 -- Renamed the current "virtual" fields to "private".Michal Petrucha
The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation.
2016-04-12Refs #22936 -- Moved IntegerField.get_prep_lookup() logic to lookups.Tim Graham
2016-04-08Fixed #26351 -- Added MySQL check to warn about strict mode optionClaude Paroz
Thanks Adam Chainz for the initial implementation in django-mysql. Thanks Adam Chainz, Tim Graham, and Shai Berger for the reviews.
2016-04-08Refs #26351 -- Added check hook to support database-related checksClaude Paroz
Thanks Tim Graham and Shai Berger for the reviews.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-05Fixed #26458 -- Based Avg's default output_field resolution on its source ↵Simon Charette
field type. Thanks Tim for the review and Josh for the input.
2016-04-05Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.Attila Tovt
2016-04-04Fixed E402 flake8 warnings.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-04-03Fixed #26075 -- Added clearer wording for one-off values in makemigrationsSusan Tan
2016-04-03Fixed #26441 -- Added model Field.db_check() methodMarkus Holtermann
Thanks Common Code for financing the work on this commit.
2016-04-03Fixed #26443 -- Corrected timezone.now in MigrationQuestioner promptIacopo Spalletti
2016-03-30Fixed #11560 -- Allowed proxy model multiple-inheritance from the same ↵Akshesh
concrete base model.
2016-03-29Fixed #26384 -- Fixed renaming the PK on a model with a self-referential FK ↵Alex Hill
on SQLite.
2016-03-29Fixed #24932 -- Added Cast database function.Claude Paroz
Thanks Ian Foote for the initial patch.
2016-03-29Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql().Kai Feldhoff
2016-03-28Fixed #26413 -- Fixed a regression with abstract model inheritance and ↵Simon Charette
explicit parent links. Thanks Trac alias trkjgrdg for the report and Tim for investigation and review.
2016-03-28Sorted single letter imports per the latest version of isort.Tim Graham
2016-03-28Avoided need to import model fields in models/functions.py.Claude Paroz
2016-03-28Normalized Func.as_sqlite() signature.Tim Graham
2016-03-23Fixed #26398 -- Made FieldFile.open() respect its mode argument.Alexey Kotlyarov
2016-03-23Fixed #25388 -- Added an option to allow disabling of migrations during test ↵Berker Peksag
database creation
2016-03-21Refs #25759 -- Fixed some Funcs to work if different database backends are used.Kai Feldhoff
2016-03-19Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a ↵Jason Parrott
subquery.
2016-03-19Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
2016-03-18Merge pull request #6310 from apollo13/informixAndrew Godwin
Pass type to sql_alter_column*.
2016-03-18Pass type to sql_alter_column*.Florian Apolloner
This helps databases which need the database type when changing the default (Just like MySQL needs it for changing null…)
2016-03-17Refs #26367 -- Removed obsolete _size cache on FieldField.Tim Graham
The _size attribute is used in File.size but FieldFile overrides it.
2016-03-15Fixed #26157 #25321 -- Added sql/params to extra context of schema loggerMarkus Holtermann
Thanks Akshesh Doshi for the initial patch and Tim Graham for the review
2016-03-14Fixed #26140 -- Suppressed MySQL warning when inserting binary contentClaude Paroz
Thanks Tim Graham for the review.
2016-03-12Fixed a few docstring typos.Noenglish Professorbut
2016-03-10Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.Tim Graham
2016-03-10Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundErrorJarek Glowacki
2016-03-05Refs #19527 -- Fixed SQL compiler regression causing Oracle failure.Tim Graham
2016-03-03Fixed #26316 -- Factored duplicated code in model/field migration operations.Akshesh
2016-03-02Fixed #26226 -- Made related managers honor the queryset used for ↵Simon Charette
prefetching their results. Thanks Loïc for the suggested improvements and Tim for the review.
2016-03-02Fixed #26285 -- Deprecated the MySQL-specific __search lookup.Marc Tamlyn
2016-03-02Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its ↵acrefoot
objects. PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch.
2016-03-02Fixed #26304 -- Ignored unmanaged through model in table introspection.Matthew Schinckel
2016-02-29Fixed #26186 -- Documented how app relative relationships of abstract models ↵Simon Charette
behave. This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e. Thanks Tim for the review. Refs #25858.
2016-02-29Removed unused 'Between' lookup.Adam Chainz
It was added in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3 and stopped being used for `Range` in 00aa562884a418c4ee20e223ab82c3455997ee7d when `bilateral` was added to `Transform`.
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2016-02-26Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True)Attila Tovt
2016-02-26Fixed #25279 -- Made prefetch_related_objects() public.Adam Chainz
2016-02-26Fixed #24793 -- Unified temporal difference support.Simon Charette
2016-02-26Fixed #24653 -- Fixed MySQL database introspection when using read_default_file.zshimanchik
2016-02-26Fixed #25811 -- Added a helpful error when making _in queries across ↵Edwar Baron
different databases.