| Age | Commit message (Collapse) | Author |
|
convert to text.
Backport of c72eb80d114fb5d90bd21b5549e8abd0bbd17f99 from master.
|
|
during deconstruction."
This reverts commit 45bd7b3bd9008941580c100b9fc7361e3ff3ff0d.
This is a backport of 8aaf51f94c70e3cfcd2c75a0be1b6f55049d82d8 from master.
|
|
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
Backport of ceb1ffcc8d from master.
Conflicts:
tests/custom_lookups/tests.py
|
|
Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
Conflicts:
tests/generic_relations/tests.py
tests/get_or_create/tests.py
Backport of ed37f7e979 from master
|
|
deconstruction.
Backport of 45bd7b3bd9 from master
|
|
|
|
Backport of 72f1eb48df335c110f39d56f7978d95896a56bb8 from master.
|
|
If auto_now or auto_now_add was used then the serialized
field in the migration contained unnecessary `editable` and
`blank` arguments.
Backport of 74325339327e5b8a2480aee7f482bc71f73c71f9 from master.
|
|
Backport of 44169a00c1fe7c130a8b9774e3b02ccce524a3eb from master.
|
|
Backport of 97a38de230371c0b6ad8a86abba8425186c147c7 from master.
|
|
Thanks Matthieu Agopian for the report.
Backport of 2f73b527dda6683868fac2791f7f07ccb01ea0d9 from master.
|
|
|
|
error message
Backport of 6eed751162 from master.
|
|
Backport of 67f9f385aa from master
|
|
|
|
Loading fixtures were failing since the refactoring in 244e2b71f5 for
inheritance setups where the chain contains abstract models and the
root ancestor contains a M2M relation.
Thanks Stanislas Guerra for the report.
Refs #20946.
Backport of 862e1ff234 from master
|
|
In some cases, this could lead to migrations written with Python 2
being incompatible with Python 3.
Thanks Tim Graham for the report and Loïc Bistuer for the advices.
Backport of da9cf53cb from master.
|
|
Refs #22564.
Backport of 12474dace from master.
|
|
Backport of 2bcb8bfc8d from master
|
|
typecasting.
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
|
|
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
|
|
reverse FK.
Regression introduced by commit 9777442. Refs #21410.
Backport of d3b71b976d from master
|
|
Thanks to @loic for the help and @timgraham for the review.
refs #12030.
Backport of b9e50e4774 from master
|
|
refs #12030.
Backport of ff874f363c from master
|
|
Thanks to @timgraham for the review.
Backport of 1506c71a95 from master
|
|
db_parameters should respect an already existing db_type method and
return that as its type string. In particular, this was causing some
fields from gis to not be generated.
Thanks to @bigsassy and @blueyed for their work on the patch.
Also fixed #22260
|
|
Thanks to trac user merb for the report.
|
|
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
|
|
|
|
|
|
|
|
Thanks Anssi Kääriäinen for the idea and Simon Charette for the
review.
|
|
This reverts commit 1562b9896f8f614ef40fd032b1ec777280b377c1.
|
|
|
|
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
|
|
|
|
|
|
The original patch for custom prefetches didn't allow usage of custom
queryset for single valued relations (along ForeignKey or OneToOneKey).
Allowing these enables calling performance oriented queryset methods like
select_related or defer/only.
Thanks @akaariai and @timgraham for the reviews. Refs #17001.
|
|
Thanks Piotr Kasprzyk for help with the patch.
|
|
|
|
Thanks to mondone for fruitful colaboration.
|
|
Thanks tunixman for the report and Baptiste Mispelon and
Shai Berger for reviews.
|
|
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.
Thanks michael at actrix.gen.nz for the original suggestion.
|
|
Thanks Anssi Kääriäinen for the suggestion.
|
|
Attempting to add() and remove() an object related by a 'through' model
now raises more descriptive AttributeErrors, in line with set and
create().
|
|
Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199.
Thanks leahculver for the suggestion.
|
|
|
|
Thanks to Simon Charette for the eagle eyes.
|
|
|
|
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579, fixes #3055, fixes #19844.
|