| Age | Commit message (Collapse) | Author |
|
Backport of 97a38de230371c0b6ad8a86abba8425186c147c7 from master.
|
|
Backport of 34c60c42b6 from master
|
|
Thanks Matthieu Agopian for the report.
Backport of 2f73b527dda6683868fac2791f7f07ccb01ea0d9 from master.
|
|
Backport of c70a61eb from master
|
|
typecasting.
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
|
|
Thanks to @timgraham for the review.
Backport of 1506c71a95 from master
|
|
|
|
This seems worthwhile in its own right, but also works around an Oracle
bug (in versions 10 -- 11.1) where the use of Unicode would reset the
date/time formats, causing ORA-01843 errors.
Thanks Trac users CarstenF for the report, jtiai for the initial patch,
and everyone who contributed to the discussion on the ticket.
|
|
Failing test introduced in fix for refs #22210.
|
|
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
|
|
|
|
Thanks Piotr Kasprzyk for help with the patch.
|
|
Thanks tunixman for the report and Baptiste Mispelon and
Shai Berger for reviews.
|
|
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.
|
|
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
|
|
|
subclass restrictions.
Refs #18162. Thanks claudep and mjtamlyn for review.
|
|
|
|
prepared is False.
Thanks homm for the report and Aramgutang and lrekucki for work on
the patch.
|
|
not have a default value
Thanks to Collin Anderson for the suggestion and Tim Graham for
reviewing the patch.
|
|
list of choices.
|
|
All Promise objects were passed to force_text() deep in ORM query code.
Not only does this make it difficult or impossible for developers to
prevent or alter this behaviour, but it is also wrong for non-text
fields.
This commit changes `Field.get_prep_value()` from a no-op to one that
resolved Promise objects. All subclasses now call super() method first
to ensure that they have a real value to work with.
|
|
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
Thanks Jeff250.
|
|
Refs #20680.
|
|
Thanks stanislas.guerra at gmail.com for the report and
Baptiste Mispelon for the review.
|
|
Gives much nicer errors when it fails.
|
|
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.
Refs #11077, #17032, and #18670.
|
|
Current ports of MySQLdb are very buggy in this area.
|
|
|
|
Thanks to the many contributors who updated and improved the patch over
the life of this ticket.
|
|
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
|
|
|