- 17 Mar, 2013 7 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
-
Aymeric Augustin yazdı
Fixed #20043 -- Removed unused BLANK_CHOICE_NONE
-
Aymeric Augustin yazdı
The backwards-incompatible changes section wasn't structured in sections like it is in release notes for previous versions.
-
Aymeric Augustin yazdı
Some alternative implementations don't have them. Closes #19944.
-
Aymeric Augustin yazdı
-
Anssi Kääriäinen yazdı
-
Anssi Kääriäinen yazdı
The AssertNumQueriesContext didn't reset connection's use_debug_cursor in case there was an exception. This resulted in leaking query strings into connection.queries. Maximum memory use pre-patch was around 700MB, post-patch it is around 200MB for Django's test suite.
-
- 16 Mar, 2013 5 kayıt (commit)
-
-
Claude Paroz yazdı
Fix #20058: Make compilemessages use stdout instead of stderr.
-
Adrian Holovaty yazdı
Fix #20054: Removed links to modwsgi.org.
-
Adrian Holovaty yazdı
Fix 20061: remove out of date comment.
-
Baptiste Mispelon yazdı
-
Baptiste Mispelon yazdı
-
- 15 Mar, 2013 9 kayıt (commit)
-
-
Baptiste Mispelon yazdı
-
Claude Paroz yazdı
Thanks slinkp for the report and the initial patch.
-
Baptiste Mispelon yazdı
-
Simon Charette yazdı
Fixed #20053 -- Fix `index_together` documentation
-
Johan Charpentier yazdı
-
Aymeric Augustin yazdı
Fixed an erroneous import in example code of docs (class-based-views/intro).
-
Aymeric Augustin yazdı
-
Marc Tamlyn yazdı
-
Anssi Kääriäinen yazdı
The original problem was that when filtering two levels up in inheritance chain, Django optimized the join generation so that the middle model was skipped. But then Django generated joins from top to middle to bottom for SELECT clause, and thus there was one extra join (top->middle->bottom + top -> bottom). This case is fixed in master as the filtering optimization is gone. This has the side effect that in some cases there is still extra join if the SELECT clause doesn't contain anything from middle or bottom.
-
- 14 Mar, 2013 6 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
-
Claude Paroz yazdı
-
Aymeric Augustin yazdı
-
Claude Paroz yazdı
Thanks Florian Apolloner for the report and the review. Also fixes #19643.
-
Anssi Kääriäinen yazdı
Model.save() will use UPDATE - if not updated - INSERT instead of SELECT - if found UPDATE else INSERT. This should save a query when updating, but will cost a little when inserting model with PK set. Also fixed #17341 -- made sure .save() commits transactions only after the whole model has been saved. This wasn't the case in model inheritance situations. The save_base implementation was refactored into multiple methods. A typical chain for inherited save is: save_base() _save_parents(self) for each parent: _save_parents(parent) _save_table(parent) _save_table(self)
-
- 13 Mar, 2013 13 kayıt (commit)
-
-
Florian Apolloner yazdı
-
Florian Apolloner yazdı
-
Claude Paroz yazdı
Thanks Ram Rachum for the report.
-
Jacob Kaplan-Moss yazdı
Fix #20022: Correctly handle prefixes with url-unsafe characters in reverse()
-
Daniele Procida yazdı
-
Jacob Kaplan-Moss yazdı
Fix #20022: Correctly handle prefixes with url-unsafe characters in reverse()
-
Baptiste Mispelon yazdı
-
Pablo Sanfilippo yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Thanks Anssi for haggling until I implemented this. This change alleviates the need for atomic_if_autocommit. When autocommit is disabled for a database, atomic will simply create and release savepoints, and not commit anything. This honors the contract of not doing any transaction management. This change also makes the hack to allow using atomic within the legacy transaction management redundant. None of the above will work with SQLite, because of a flaw in the design of the sqlite3 library. This is a known limitation that cannot be lifted without unacceptable side effects eg. triggering arbitrary commits.
-
Anssi Kääriäinen yazdı
-
Claude Paroz yazdı
Thanks chikiro.spam at gmail.com for the report.
-