| Age | Commit message (Collapse) | Author |
|
Thanks to Petr Glotov for spotting this.
Backport of 05a8cef428 from master
|
|
during model validation.
Thanks mitar for the report.
Backport of c587bd5a94 from master
|
|
escaped.
Backport of 5dbe2a9431 from master
|
|
Backport of fb4f3e04b1 from master
|
|
Thanks Andreas Pelme for the report.
Backport of 668d432d0a from master
|
|
Backport of 6d5daa30cf from master
|
|
ManyToManyField.
Thanks to jonathanmorgan for the report and initial patch.
Backport of de90129070 from master
|
|
Backport of dfa3505ff1 from master.
|
|
Thanks smeaton for report and Joël Rochat for spell check
Backport of 7f27cca5c5 from master
|
|
Thanks matklad for the report.
Backport of 7c6e96ec1f from master
|
|
injection
Thanks Erik Romijn for the suggestion.
Backport of 3776926cfe503f16c7195621da20c5b89bda70a2 from master
|
|
typecasting.
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
|
|
Model.save().
Backport of b43bbd6d39 from master
|
|
Refs #22343; thanks Tim Graham for the fixes.
|
|
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
|
|
relationships.
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20 from master
|
|
Backport of 563d6a6bba from stable/1.7.x
|
|
Thanks skipjack at peru.com for the suggestion.
Backport of 3390550f6f from master
|
|
Backport of 81830ce34f from master
|
|
relationships.
Backport of 9173d2cb74 from master
|
|
Using callables as query parameters is undocumented and not working,
so this changes an example from the ForeignKey.limit_choices_to
documentation that uses it.
Backport of d34c8c338a from master
|
|
Backport of dfc95d240d from master.
|
|
Backport of 70e61310d6 from master
|
|
Added an explicit mention of the exact value ranges for integer type
fields that are safe in all databases supported by Django. Also, put
all value numbers inside double ticks.
Backport of b6a6cf4ab791b092e18ab16537aa88dd7ae9bc36 from master.
|
|
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
Backport of c33d1ca1d98003de29cdecb6080b52c5c52139bd from master.
|
|
and how to prevent table-name truncation
Thanks russellm & timo for discussion, and timo for review.
Backported from master 317040a73b77be8f8210801793b2ce6d1a69301e
|
|
Thanks bjb at credil.org for the report.
Backport of f8632572ad from master
|
|
Thanks neithere for the suggestion.
Backport of 75bb6ba966 from master
|
|
Just changed as to has.
Backport of d8f2d940cc from master
|
|
Day, month, and week_day lookups now require time zone definitions in the database.
Backport of 9451d8d from master.
|
|
Thanks Panagiotis Issaris for the report.
Backport of fb51c9a0f2 from master
|
|
Thanks outofculture at gmail.com for the suggestion.
Backport of cbf08c6b0c from master
|
|
|
|
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
Backport of 4d13cc56de from master
|
|
Backport of a89c856a7a from master
|
|
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.
Reviewed by Tim Graham.
Refs #16649
Backport of e973ee6a9879969b8ae05bb7ff681172cc5386a5 from master
Conflicts:
django/db/models/options.py
tests/basic/tests.py
|
|
Although the ModelForm validation code was changed to call
Model.full_clean(), the documentation still said otherwise. The
offending phrase was removed.
Backport of bb011cf809 from master
|
|
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
|
|
refs #20484
Backport of fb26c4996a from master
|
|
Backport of 94d7fed775 from master
|
|
prefetch_related() docs.
Backport of e8183a8193 from master
|
|
Backport of 5df84b268d from master
|
|
many-to-many relationship do not call Model.save()
Backport of 3cdeb572d7 from master
|
|
Backport of ac223ff6d1 from master
|
|
Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24 from master.
|
|
supported by Postgres.
Thanks jtiai for the suggestion.
Backport of 577b0f9189 from master.
|
|
unique constraints.
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
Backport of 428de2e339 from master.
|
|
|
|
|
|
fields
|