summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2017-07-06Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵Mariusz Felisiak
with similar methods.
2017-07-04Removed obsolete comment about IntegerField introspection on Oracle.Mariusz Felisiak
Obsolete since e9d12bae1e59e51738c11c492c620f56f96106bf.
2017-06-30Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with ↵Simon Charette
nonexistent field. Thanks Tim for the review.
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-06-29Fixed #28277 -- Added validation of QuerySet.annotate() and aggregate() args.Mariusz Felisiak
Thanks Tim Graham and Nick Pope for reviews.
2017-06-29Removed obsolete Query.tables attribute.Anssi Kääriäinen
Obsolete since Query.alias_map became an OrderedDict (refs #26522).
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-06-28Fixed #27473 -- Added DurationField support to Extract.Daniel Hahler
2017-06-27Fixed #28046 -- Added the db_tablespace parameter to class-based indexes.Mariusz Felisiak
Thanks Markus Holtermann and Tim Graham for reviews.
2017-06-27Fixed #28330 -- Prevented passing positional arguments to an Index.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-06-26Fixed #26362 -- Fixed update of the inherited id field of an object when its ↵Paulo Alvarado
parent changes.
2017-06-22Fixed #28298 -- Prevented a primary key alteration from adding a foreign key ↵Josh Schneier
constraint if db_constraint=False.
2017-06-21Fixed #28329 -- Fixed Cast() with ↵Mariusz Felisiak
Big/Small/Positive/PositiveSmallIntegerField on MySQL.
2017-06-21Refs #25530 -- Deleted deferred SQL references on delete operation.Simon Charette
2017-06-21Refs #25530 -- Renamed deferred SQL references on rename operation.Simon Charette
2017-06-21Refs #25530 -- Tracked references of deferred SQL statements.Simon Charette
2017-06-20Refs #25530 -- Changed _create_index_name to take a table as first parameter.Simon Charette
2017-06-20Fixed #27869 -- Added fastupdate and gin_pending_list_limit params to GinIndex.Mads Jensen
Thanks Tim Graham and Markus Holtermann for review.
2017-06-19Fixed #28322 -- Added dbshell support for MySQL client TLS certs.Paul Tiplady
2017-06-19Refs #27858 -- Fixed typo in MigrationRecorder.applied_migrations() comment.Mariusz Felisiak
2017-06-19Fixed #27858 -- Prevented read-only management commands from creating the ↵Marti Raudsepp
django_migrations table. MigrationRecorder now assumes that if the django_migrations table doesn't exist, then no migrations are applied. Reverted documentation change from refs #23808.
2017-06-17Fixed #28319 -- Made TextField with choices use a Select widget.Maciej Jaworski
2017-06-14Refs #27914 -- Used __qualname__ in model operations' deconstruct().chillaranand
2017-06-14Fixed #27914 -- Added support for nested classes in ↵chillaranand
Field.deconstruct()/__repr__().
2017-06-14Moved common code to RelatedField.deconstruct().Adam Bogdał
2017-06-14Fixed #24195 -- Deconstructed the limit_choices_to option of related fields.Adam Bogdał
Migrations will now be created for changes to limit_choices_to.
2017-06-13Refs #23853 -- Updated sql.query.Query.join() docstring.Tim Graham
Follow up to ab89414f40db1598364a7fe4cfac1766cacd2668.
2017-06-13Fixed #27830 -- Used distutils.version.LooseVersion for version parsing.chillaranand
2017-06-13Fixed #28293 -- Fixed union(), intersection(), and difference() when ↵Mariusz Felisiak
combining with an EmptyQuerySet. Thanks Jon Dufresne for the report and Tim Graham for the review.
2017-06-11Refs #23919 -- Removed support for broken Model.__str__() in Model.__repr__().Tim Graham
Returning invalid bytestrings in __str__() is unlikely in Python 3.
2017-06-09Fixed #27953 -- Added instance's pk to Model.__str__().Collin Anderson
2017-06-08Fixed #28103 -- Added quarter extract, truncation, and lookup.Mads Jensen
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
2017-06-08Removed unused sql.Query.query_termsClaude Paroz
Unused since 5008a4db440c8f7d108a6979b959025ffb5789ba.
2017-06-08Fixed #28282 -- Fixed class-based indexes name for models that only inherit ↵Jon Dufresne
Model.
2017-06-06Fixed #28275 -- Added more hooks to SchemaEditor._alter_field().Florian Apolloner
2017-06-06Refs #20483 -- Removed unneeded column from _foreign_key_constraints() on ↵Mariusz Felisiak
Oracle.
2017-06-05Replaced Model._get_pk_val() with pk property.Tim Graham
Model.pk was added after _get_pk_val() and many places weren't simplified.
2017-06-05Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has ↵Adam Johnson
an instance only descriptor. Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.
2017-06-02Fixed #28260 -- Allowed customizing the test tablespace initial and ↵Mariusz Felisiak
autoextend size on Oracle. Thanks Tim Graham for the review.
2017-06-02Fixed #28258 -- Optimized Oracle introspection by using LISTAGG.Mariusz Felisiak
Thanks Tim Graham and Jani Tiainen for reviews.
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-06-01Fixed #27639 -- Added chunk_size parameter to QuerySet.iterator().François Freitag
2017-06-01Refs #26682 -- Added AutoField introspection on Oracle.Mariusz Felisiak
2017-06-01Fixed #26682 -- Added support for Oracle identity columns.Mariusz Felisiak
Thanks Shai Berger and Tim Graham for reviews.
2017-06-01Fixed #28242 -- Moved ImageField file extension validation to the form field.Manatsawin Hanmongkolchai
2017-05-31Fixed #22550 -- Prohibited QuerySet.last()/reverse() after slicing.Matthias Erll
2017-05-30Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.Tim Graham
Thanks Simon Charette for the fix.
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27Fixed #28226 -- Replaced use of str.join() with concatenation.Tom
2017-05-27Fixed #28222 -- Allowed settable properties in ↵Alex
QuerySet.update_or_create()/get_or_create() defaults.