Mykola Kokalko
|
ef082ebb84
|
Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path.
|
2019-05-02 11:11:56 +02:00 |
Mariusz Felisiak
|
5df3301aab
|
Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.
|
2019-04-25 07:36:07 +02:00 |
Mariusz Felisiak
|
f8f0f92ed9
|
Fixed UniqueConstraint example in ref/models/constraints.txt.
|
2019-04-25 07:36:07 +02:00 |
Luke Plant
|
0c916255eb
|
Changed tuple Mate.unique_together/permissions to lists in docs.
|
2019-04-24 10:06:00 +02:00 |
Daniel Musketa
|
6fd9c9daa6
|
Fixed #30365 -- Fixed syntax highlighting in SQL examples.
Sphinx interprets some "%[a-z]" in SQL statements as a
"Literal.String.Interpol" which leads to incorrect highlighting.
|
2019-04-23 12:37:50 +02:00 |
Ville Skyttä
|
03db5fddfd
|
Fixed typos in docs, comments, and exception messages.
|
2019-04-18 09:33:53 +02:00 |
Gary Donovan
|
516d858e7a
|
Fixed typo in docs/ref/models/instances.txt.
|
2019-04-16 08:26:11 +02:00 |
sage
|
bfae195b0a
|
Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.
|
2019-04-15 08:57:33 +02:00 |
Nick Pope
|
198a2a9381
|
Removed unnecessary /static from links to PostgreSQL docs.
|
2019-03-29 21:49:44 -04:00 |
Nick Pope
|
d26b242443
|
Fixed #30271 -- Added the Sign database function.
|
2019-03-22 12:52:39 +01:00 |
Simon Charette
|
9dc367dc10
|
Refs #30158 -- Added alias argument to Expression.get_group_by_cols().
|
2019-03-21 18:47:46 -04:00 |
Nick Pope
|
0b70985f42
|
Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions.
Thanks Mariusz Felisiak and Tim Graham for reviews.
|
2019-03-20 19:30:43 +01:00 |
Paul Wayper
|
1025e76429
|
Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
|
2019-03-18 10:32:38 -04:00 |
ahbk
|
d527639804
|
Fixed #29754 -- Added is_dst parameter to Trunc database functions.
|
2019-03-07 10:02:18 -05:00 |
Mariusz Felisiak
|
b0799f5d86
|
Fixed documentation of database representation for ManyToManyField.
|
2019-02-25 20:05:31 +01:00 |
Mariusz Felisiak
|
9ff18c08c3
|
Refs #28643 -- Added MD5 database function.
Thanks Tim Graham, Nick Pope and Simon Charette for reviews.
|
2019-02-21 10:52:51 +01:00 |
Mariusz Felisiak
|
759a9b710c
|
Updated Oracle docs links to Oracle 18c.
|
2019-02-07 09:59:47 +01:00 |
Nick Pope
|
24b82cd201
|
Fixed #30159 -- Removed unneeded use of OrderedDict.
Dicts preserve order since Python 3.6.
|
2019-02-06 13:48:39 -05:00 |
Tim Graham
|
39ebdf5a3c
|
Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.
|
2019-02-04 18:07:02 -05:00 |
Sergey Fedoseev
|
ba7a420012
|
Corrected output of Prefetch.to_attr example.
|
2019-01-31 09:09:08 -05:00 |
Day Barr
|
51fa59f0b3
|
Fixed typo in QuerySet.bulk_update documentation (#10859)
Looks like an accidental carry over from the pre-existing
QuerySet.bulk_create documentation.
|
2019-01-17 12:31:48 -05:00 |
Tim Graham
|
ec7e179aeb
|
Removed versionadded/changed annotations for 2.1.
|
2019-01-17 10:50:25 -05:00 |
Collin Anderson
|
769355c765
|
Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model.
|
2019-01-15 11:12:17 -05:00 |
Nick Pope
|
6d4efa8e6a
|
Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:39:46 -05:00 |
Nick Pope
|
e85afa5943
|
Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:38:00 -05:00 |
Nick Pope
|
c690afb873
|
Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
|
2019-01-14 14:35:41 -05:00 |
Nick Pope
|
abf8e390a4
|
Refs #28643 -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
|
2019-01-12 10:45:48 -05:00 |
Paveł Tyślacki
|
b69f8eb04c
|
Fixed #30062 -- Added support for unique conditional constraints.
|
2019-01-12 09:50:20 -05:00 |
Tim Graham
|
cf1fe22009
|
Fixed typos in docs/ref/models/constraints.txt.
|
2019-01-10 18:52:42 -05:00 |
Mads Jensen
|
4b9d72210f
|
Refs #28643 -- Added NullIf database function.
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
|
2019-01-10 12:10:12 -05:00 |
Hasan Ramezani
|
52d06d3041
|
Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.
|
2019-01-09 17:54:46 -05:00 |
Simon Charette
|
bc05547cd8
|
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
|
2019-01-09 17:52:36 -05:00 |
Paveł Tyślacki
|
bdf3863bdd
|
Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints.
|
2018-12-29 20:01:29 -05:00 |
Nick Pope
|
83677faf86
|
Fixed #30056 -- Added SQLite support for StdDev and Variance functions.
|
2018-12-24 11:14:58 -05:00 |
Nick Pope
|
e626a3f993
|
Renamed Sqlite and Sqlite3 references to SQLite.
|
2018-12-22 18:52:54 -05:00 |
Tim Graham
|
926fa7116f
|
Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
|
2018-11-27 11:20:23 -05:00 |
Simon Charette
|
9a7d336c38
|
Corrected Aggregate docs to reflect that it accepts multiple expressions.
|
2018-11-27 09:22:24 -05:00 |
François Freitag
|
9b15ff08ba
|
Used auto-numbered lists in documentation.
|
2018-11-15 13:54:28 -05:00 |
Simon Charette
|
db13bca60a
|
Fixed #29641 -- Added support for unique constraints in Meta.constraints.
This constraint is similar to Meta.unique_together but also allows
specifying a name.
Co-authored-by: Ian Foote <python@ian.feete.org>
|
2018-11-13 17:57:27 -05:00 |
Simon Charette
|
8eae094638
|
Generalized check constraint docs for other constraints.
|
2018-11-13 17:57:27 -05:00 |
Sergey Fedoseev
|
d48662122c
|
Corrected docs regarding RegisterLookupMixin subclasses.
|
2018-11-12 10:20:35 -05:00 |
Mads Jensen
|
a906c98982
|
Fixed #29547 -- Added support for partial indexes.
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and
Markus Holtermann for comments and feedback.
|
2018-10-29 19:34:54 -04:00 |
Andrea Rabbaglietti
|
1b49b792e9
|
Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.
|
2018-10-10 14:56:50 -04:00 |
ovalseven8
|
d093e01ec0
|
Clarified when QuerySet.select_for_update() locks.
|
2018-10-03 15:29:33 -04:00 |
Simon Charette
|
9142bebff2
|
Refs #11964 -- Changed CheckConstraint() signature to use keyword-only arguments.
Also renamed the `constraint` argument to `check` to better represent which
part of the constraint the provided `Q` object represents.
|
2018-10-02 10:53:04 -04:00 |
Jon Dufresne
|
b3b47bf515
|
Added tests for using bytearray with BinaryField and corrected docs.
|
2018-10-01 09:16:16 -04:00 |
Jon Dufresne
|
fb2964a410
|
Added test of filtering on BinaryField and corrected docs.
|
2018-09-26 14:38:12 -04:00 |
Jon Dufresne
|
8c3e0eb1c1
|
Normalized spelling of "lowercase" and "lowercased".
|
2018-09-25 10:30:18 -04:00 |
Tom Forbes
|
9cbdb44014
|
Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.
|
2018-09-18 16:14:44 -04:00 |
Ramiro Morales
|
1b1f64ee5a
|
Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
Thanks Ramiro Morales for contributing to the patch.
|
2018-09-13 12:29:48 -04:00 |
Curtis Maloney
|
c49ea6f591
|
Refs #20910 -- Replaced snippet directive with code-block.
|
2018-09-10 13:00:34 -04:00 |
Matt Wiens
|
c122a7c53c
|
Fixed typo in docs/ref/models/fields.txt.
|
2018-08-28 07:53:09 -04:00 |
priyanshsaxena
|
83b04d4f88
|
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
|
2018-08-23 11:52:09 -04:00 |
Sigurd Ljødal
|
3e09b37f80
|
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
|
2018-08-18 13:09:15 -04:00 |
Jeff
|
3fa3de5415
|
Fixed #29646 -- Doc'd the validators that each model and form field uses.
|
2018-08-16 17:03:28 -04:00 |
Tom
|
f1fbef6cd1
|
Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.
|
2018-08-03 17:40:46 -04:00 |
Adam Johnson
|
2e3ba9f592
|
Removed out of place sentence in QuerySet.count() docs.
|
2018-08-02 17:36:02 -04:00 |
luz.paz
|
97e637a87f
|
Fixed typos in comments and docs.
|
2018-08-01 16:09:22 -04:00 |
Tom Forbes
|
4198445afc
|
Refs #29548 -- Fixed failing window tests on MariaDB 10.3.
|
2018-07-30 19:54:56 -04:00 |
Carlton Gibson
|
a67ebcb1cb
|
Refs #29593, #26891 -- Doc'd RegisterLookupMixin.get_lookups().
|
2018-07-26 10:42:33 -04:00 |
Andrew Brown
|
c0e3c65b9d
|
Fixed #29563 -- Added result streaming for QuerySet.iterator() on SQLite.
|
2018-07-25 18:08:57 -04:00 |
Claude Paroz
|
6e78e10549
|
Added doc links for django.utils.html.escape().
|
2018-07-18 11:32:27 -04:00 |
Ian Foote
|
952f05a6db
|
Fixed #11964 -- Added support for database check constraints.
|
2018-07-10 15:32:33 -04:00 |
Tim Graham
|
8b1d361f28
|
Fixed #29549 -- Doc'd that Field.choices are enforced by model validation.
|
2018-07-09 15:06:36 -04:00 |
Mads Jensen
|
ab251fdad2
|
Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
|
2018-07-05 11:12:08 -04:00 |
Junyi Jiao
|
a0b19a0f5b
|
Refs #28643 -- Added math database functions.
Thanks Nick Pope for much review.
|
2018-07-05 11:02:12 -04:00 |
Colm O'Connor
|
c530428d36
|
Fixed #21333 -- Doc'd the & and | queryset operators.
|
2018-06-29 20:39:18 -04:00 |
Ian Foote
|
38cada7c94
|
Fixed #28077 -- Added support for PostgreSQL opclasses in Index.
Thanks Vinay Karanam for the initial patch.
|
2018-06-29 17:00:28 -04:00 |
Jeffrey Yancey
|
2d6776ffe0
|
Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field().
|
2018-06-28 19:35:01 -04:00 |
Tim Graham
|
dd367e0dae
|
Refs #12663 -- Removed Meta API upgrade guide.
|
2018-06-27 14:02:46 -04:00 |
Christian Ledermann
|
11bfe3a83d
|
Refs #29493 -- Doc'd that the QuerySet in lookup accepts a string.
|
2018-06-16 15:53:54 -04:00 |
Jeremy Lainé
|
7417929618
|
Fixed #29440 -- Doc'd where the bulk argument applies in RelatedManager.
|
2018-06-08 14:36:17 -04:00 |
Srinivas Reddy Thatiparthy
|
4c35a173e8
|
Fixed #29423 -- Documented Field.value_from_object().
|
2018-05-25 15:10:45 -04:00 |
Tim Graham
|
e038f98bf3
|
Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related models.
|
2018-05-18 18:08:37 -04:00 |
Tim Graham
|
7543ab1f8d
|
Removed versionadded/changed annotations for 2.0.
|
2018-05-17 11:00:10 -04:00 |
olivierdalang
|
825f0beda8
|
Fixed #8936 -- Added a view permission and a read-only admin.
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
|
2018-05-16 06:44:55 -04:00 |
Mariusz Felisiak
|
35319bf12c
|
Alphabetized imports in various docs.
Follow-up of d97cce3409 and 7d3fe36c62 .
|
2018-05-12 19:37:42 +02:00 |
drd0013
|
5d923f2d8c
|
Fixed #29313 -- Doc'd how to use F() to sort null values.
|
2018-04-19 20:07:40 -04:00 |
Tom
|
c1c163b427
|
Fixed #28574 -- Added QuerySet.explain().
|
2018-04-19 10:52:19 -04:00 |
Daniel Roseman
|
e6c21217d3
|
Fixed reference to nonexistent __between lookup.
|
2018-04-04 09:43:36 -04:00 |
Mariusz Felisiak
|
55cc26941a
|
Refs #28643 -- Added Repeat database function.
Thanks Tim Graham and Nick Pope for reviews.
|
2018-04-03 19:36:12 +02:00 |
Quentin Agren
|
34c5222837
|
Fixed #29148 -- Doc'd how to use get_or_create() with Q objects.
|
2018-03-28 10:46:34 -04:00 |
Alasdair Nicol
|
0c100f8b57
|
Clarified docs about ISO 8601 week numbering.
|
2018-03-21 20:00:39 -04:00 |
Jezeniel Zapanta
|
abe6c5defe
|
Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
|
2018-03-20 21:09:08 -04:00 |
Tim Graham
|
5fa4f40f45
|
Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
|
2018-03-20 12:10:10 -04:00 |
Mariusz Felisiak
|
cede5111bb
|
Refs #28643 -- Added LPad and RPad database functions.
Thanks Tim Graham for the review.
|
2018-03-19 17:35:16 +01:00 |
Mariusz Felisiak
|
9421aee35e
|
Refs #28643 -- Added LTrim, RTrim, and Trim database functions.
Thanks Tim Graham and Mads Jensen for reviews.
|
2018-03-15 20:57:23 +01:00 |
Fabrizio Ettore Messina
|
10c0fe528a
|
Fixed #29178 -- Allowed Index.fields to accept a tuple.
|
2018-03-08 10:56:55 -05:00 |
bobort
|
f82de6bfb1
|
Refs #28643 -- Added Ord, Chr, Left, and Right database functions.
|
2018-02-23 10:23:22 -05:00 |
Tim Graham
|
548f78ba46
|
Removed redundant lookup name in register_lookup() calls.
|
2018-02-19 13:12:13 -05:00 |
Tim Graham
|
e917ea6bec
|
Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
|
2018-02-15 13:17:37 -05:00 |
Matthew Wilkes
|
2162f0983d
|
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
|
2018-02-10 19:08:55 -05:00 |
Sergey Fedoseev
|
01bfa9219b
|
Fixed typo in bulk_create() documentation.
|
2018-02-08 10:33:45 +01:00 |
priyanshsaxena
|
617d5f410f
|
Fixed #29066 -- Allowed negating query expressions.
|
2018-01-31 10:54:19 -05:00 |
Jon Dufresne
|
136bf5c214
|
Fixed #29076 -- Made Model.refresh_from_db() clear cached relationships even if the related id doesn't change.
|
2018-01-30 10:43:53 -05:00 |
Tim Graham
|
e6f0e324e2
|
Fixed #29081 -- Clarified comments in QuerySet.select_related() example.
|
2018-01-29 11:11:43 -05:00 |
Sigurd Ljødal
|
a455e732a0
|
Fixed #28650 -- Added TruncWeek database function.
|
2018-01-27 09:59:13 -05:00 |
Tim Graham
|
2870879981
|
Fixed heading level typo in docs/ref/models/database-functions.txt.
|
2018-01-23 19:48:57 -05:00 |
Mariusz Felisiak
|
7fbb1bd00d
|
Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
|
2018-01-19 08:55:29 +01:00 |
Mads Jensen
|
65728550bd
|
Refs #28643 -- Added Replace database function.
|
2018-01-17 20:46:15 -05:00 |