- 06 Şub, 2015 4 kayıt (commit)
-
-
Aymeric Augustin yazdı
This message was introduced to help people figure out quickly when they aren't running the tests against the copy of Django they're editing. There's no reason to display it when verbosity is set to 0. It defaults to 1.
-
Tim Graham yazdı
Aymeric says, "It was fun to write, but I don't think it's very useful."
-
Tim Graham yazdı
-
Tim Graham yazdı
-
- 05 Şub, 2015 14 kayıt (commit)
-
-
Markus Holtermann yazdı
Since 1.7 models need to declare an explicit app_label if they are not in an application in INSTALLED_APPS or were imported before their application was loaded.
-
Andrei Kulakov yazdı
-
Aymeric Augustin yazdı
-
Markus Holtermann yazdı
Thanks Tim Graham for the review.
-
Aymeric Augustin yazdı
If importing or initializing a template backend fails, attempting to access this template backend again must raise the same exception.
-
Aymeric Augustin yazdı
In addition to ImproperlyConfigured, Engine.get_default() may also raise ImportError or other exceptions. It's better to catch all exceptions in places where the default engine isn't strictly required.
-
Riccardo Magliocchetti yazdı
-
Aymeric Augustin yazdı
Thanks Collin Anderson for the report.
-
Aymeric Augustin yazdı
Also made RegexURLResolver.url_patterns a cached property for consistency and efficiency.
-
Tom Christie yazdı
-
Loic Bistuer yazdı
During direct assignment, evaluating the iterable before the transaction is started avoids leaving the transaction dirty if an exception is raised. This is slightly more wasteful but probably not enough to warrant a change of behavior. Thanks Anssi for the feedback. Refs #6707.
-
Loic Bistuer yazdı
Refs #6707.
-
Loic Bistuer yazdı
Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
-
Tim Graham yazdı
-
- 04 Şub, 2015 10 kayıt (commit)
-
-
Matthew Somerville yazdı
The function no longer flushes zfile after each write as doing so can lead to the gzipped streamed content being larger than the original content; each flush adds a 5/6 byte type 0 block. Removing this means buf.read() may return nothing, so only yield if that has some data. Testing shows without the flush() the buffer is being flushed every 17k or so and compresses the same as if it had been done as a whole string.
-
mlavin yazdı
Cleared caching in staticfiles_storage and get_finder when relevant settings are changed.
-
Tim Graham yazdı
-
Preston Timmons yazdı
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
At the same time, made sure that empty nodes in where clause match everything.
-
Anssi Kääriäinen yazdı
Instead of splitting filter clauses to where and having parts before adding them to query.where or query.having, add all filter clauses to query.where, and when compiling the query split the where to having and where parts.
-
Riccardo Magliocchetti yazdı
Based on patch by Adam J Forster, Paul Collins, and Julien.
-
Preston Timmons yazdı
-
Josh Schneier yazdı
-
- 03 Şub, 2015 12 kayıt (commit)
-
-
Aron Podrigal yazdı
Thanks to Tim for the review.
-
Tim Graham yazdı
Added in 3e975359, this check appears to never be triggered today.
-
Tim Graham yazdı
A change in Python test discovery [1] causes the old packages that raised an error to be discovered; now we use a common directory that's ignored during discovery. Refs #23763. [1] http://bugs.python.org/issue7559
-
Simon Charette yazdı
Thanks to Aron Podrigal for the initial patch and Tim for the review.
-
Tim Graham yazdı
-
Tim Graham yazdı
This reverts commit e8171daf. A new solution is forthcoming.
-
darkryder yazdı
-
Tim Graham yazdı
-
minusf yazdı
-
Claude Paroz yazdı
Thanks Stanislas Guerra for the report and Tomas Ehrlich for the review.
-
Matthew Somerville yazdı
make_bytes() assumed that if the Content-Encoding header is set, then everything had already been dealt with bytes-wise, but in a streaming situation this was not necessarily the case. make_bytes() is only called when necessary when working with a StreamingHttpResponse iterable, but by that point the middleware has added the Content-Encoding header and thus make_bytes() tried to call bytes(value) (and dies). If it had been a normal HttpResponse, make_bytes() would have been called when the content was set, well before the middleware set the Content-Encoding header. This commit removes the special casing when Content-Encoding is set, allowing unicode strings to be encoded during the iteration before they are e.g. gzipped. This behaviour was added a long time ago for #4969 and it doesn't appear to be necessary any more, as everything is correctly made into bytes at the appropriate places. Two new tests, to show that supplying non-ASCII characters to a StreamingHttpResponse works fine normally, and when passed through the GZip middleware (the latter dies without the change to make_bytes()). Removes the test with a nonsense Content-Encoding and Unicode input - if this were to happen, it can still be encoded as bytes fine.
-
Preston Timmons yazdı
-