- 26 Kas, 2014 9 kayıt (commit)
-
-
MattBlack85 yazdı
-
Anssi Kääriäinen yazdı
The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs.
-
Kenial Lee yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Simon Charette yazdı
-
Jannis Leidel yazdı
Refs #23677.
-
Tim Graham yazdı
-
Luke Plant yazdı
-
- 25 Kas, 2014 14 kayıt (commit)
-
-
Baptiste Mispelon yazdı
Thanks to Tim for the review.
-
Simon Charette yazdı
refs #23754, #23862
-
Simon Charette yazdı
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.
-
Simon Charette yazdı
-
Redouane Zait yazdı
Thanks Redouane Zait for the report.
-
Tim Graham yazdı
-
Luke Plant yazdı
Previous algo only worked if the first item was a part of the loop, and you would get an infinite loop otherwise (see test). To fix this, it was much easier to do a pre-pass. A bonus is that you now get an error message that actually helps you debug the dependency problem.
-
wrwrwr yazdı
When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews.
-
Adam Alton yazdı
These assertions had been removed in 34ba8670 and 7fe554b2, seemingly because they were referencing the wrong objects, and so they started failing when the checking of object types (as well as PK values) was introduced.
-
Martin Blech yazdı
-
Berker Peksag yazdı
-
Tim Graham yazdı
-
Richard Olsson yazdı
-
wrwrwr yazdı
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
-
- 24 Kas, 2014 16 kayıt (commit)
-
-
wrwrwr yazdı
-
wrwrwr yazdı
-
Tim Graham yazdı
-
Sergey Fedoseev yazdı
-
Tim Graham yazdı
The Jython bug was fixed in http://bugs.jython.org/issue1518 (tested on Jython 2.7b3); also updated make_msgid() to be more like the version in Python 3.2+; refs #23905. Thanks Simon Charette for testing and review.
-
Berker Peksag yazdı
-
Thomas Chaumeny yazdı
- commit/rollback are no longer replaced by nop - the warning about not using TestCase when testing transactional behavior belongs to TestCase section, not TransactionTestCase
-
Tom V yazdı
-
Luke Plant yazdı
This rename is very tricky for the case of subclasses which define get_query_set and haven't been updated yet, which applies to all projects in the form of RelatedManager from Django 1.5.
-
Danilo Bargen yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
Thanks Luke Plant for the report.
-
Matt Robenolt yazdı
-
Luke Plant yazdı
This way they won't need to fix things again when get_query_set disappears
-
- 23 Kas, 2014 1 kayıt (commit)
-
-
Kevin Ndung'u yazdı
The Preventing header injection example included classes that are not imported. Thanks to Collin Anderson and Berker Peksağ for the reviews.
-