- 20 Şub, 2015 10 kayıt (commit)
-
-
Loic Bistuer yazdı
The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Marc Tamlyn yazdı
Thanks to DavidMuller for the report.
-
Marc Tamlyn yazdı
As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
-
Marc Tamlyn yazdı
Joint effort between myself, Josh, Anssi and Shai.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Alex Vidal yazdı
-
- 19 Şub, 2015 3 kayıt (commit)
-
-
Aymeric Augustin yazdı
This opens more possibilities, like accessing context.template.origin. It also follows the chain of objects instead of following a shortcut.
-
Claude Paroz yazdı
Workaround for http://bugs.python.org/issue20747. In some corner cases, Python 2 inserts a newline in a header value despite `maxlinelen` passed in Header constructor. Thanks Tim Graham for the review.
-
Shai Berger yazdı
Thanks Joris Benschop for the report, and Tim Graham for the tests.
-
- 18 Şub, 2015 6 kayıt (commit)
-
-
Shai Berger yazdı
Thanks Tim Graham for pointing out the fix.
-
Marten Kenbeek yazdı
Swapped out models don't have a _default_manager unless they have explicitly defined managers. ModelState.from_model() now accounts for this case and uses an empty list for managers if no explicit managers are defined and a model is swapped out.
-
Adam Chainz yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
If Django is installed in a path that contains non-ASCII characters, the tag failed with UnicodeDecodeError.
-
Tim Graham yazdı
Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters.
-
- 17 Şub, 2015 11 kayıt (commit)
-
-
Tim Graham yazdı
-
Tim Graham yazdı
The message for the SuspiciousFileOperation exception needs to be a unicode string.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
The function implemented most of upath(), but skipped the check for strings that are already unicode.
-
Tim Graham yazdı
If the project path contained a non-ASCII character, Python 2 crashed.
-
Tim Graham yazdı
If 'name' contained non-ASCII characters, the comparison raised a UnicodeEncodeError on Python 2.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
- 16 Şub, 2015 10 kayıt (commit)
-
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
Without this migration, the auth signal handlers will fail if migrating only auth.
-
Tim Graham yazdı
-
Sergey Fedoseev yazdı
-
Markus Holtermann yazdı
-
Markus Holtermann yazdı
Instead of naively reloading only directly related models (FK, O2O, M2M relationship) the project state needs to reload their relations as well as the model changes as well. Furthermore inheriting models (and super models) need to be reloaded in order to keep inherited fields in sync. To prevent endless recursive calls an iterative approach is taken.
-
Markus Holtermann yazdı
Thanks Jeff Singer for the test case.
-
Markus Holtermann yazdı
When the primary key column is altered, foreign keys of referencing models must be aware of a possible data type change as well and thus need to be re-rendered. Thanks Tim Graham for the report.
-