summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-23Skipped a test on OracleAnssi Kääriäinen
2013-02-23Fixed Oracle regression in last_executed_query() with unicode stringsAnssi Kääriäinen
The regression was likely caused by the fix in #19606 which adjusted Oracle's unicode detection, though it seems this would have been an issue in some configurations even before.
2013-02-23Fixed empty strings + to_field regression on OracleAnssi Kääriäinen
Querying the reverse side of nullable to_field relation, where both sides can contain null values resulted in incorrect results. The reason was not detecting '' as NULL. Refs #17541
2013-02-22Documented jQuery upgradeClaude Paroz
Refs #14571.
2013-02-22Fixed #19882 -- Smarter tokenizing of {% for %} tag arguments.Baptiste Mispelon
2013-02-21Factored code and added a missing docstring.Aymeric Augustin
2013-02-21Fixed #19870 -- Regression in select_related in inheritance casesAnssi Kääriäinen
There was a regression in case two models inherited the same parent, and one contained a foreign key to other. When select_related travelled the foreign key the other model reused the parent join made by the first model. This was likely caused by Query.join_parent_model() addition in commit 68985db48212c701a3d975636123a5d79bdc006f. Thanks to Trac alias loic84 for report & tests.
2013-02-20Fixed #19868 -- Clarified purpose of custom user examplePreston Holmes
2013-02-20Made a couple of selenium tests wait for page loadedAnssi Kääriäinen
The admin_widgets tests were issuing click() to the browser but didn't wait for the effects of those clicks. This caused the resulting request to be processed concurrently with the test case. When using in-memory SQLite this caused weird failures. Also added wait_page_loaded() to admin selenium tests for code reuse. Fixed #19856
2013-02-20Clarified the language used in the documentation. Thanks to Mike Smith for ↵Alex Gaynor
the report.
2013-02-20Added a test for negated Q object queryingAnssi Kääriäinen
The added test is from the patch in ticket #19672 (written by Ian Kelly). Fixed #19672, refs #19849.
2013-02-20Cleaned up join promotion in query.combine() with ORAnssi Kääriäinen
Refs #19849
2013-02-20Removed join() promote kwargAnssi Kääriäinen
The join promote=True was over-aggressive in select_related handling. After that was removed, the only other user was query.combine(). That use case is very easy to handle locally, so there is no more need for the join(promote=True) flag. Refs #19849.
2013-02-20Refactored negated IS NULL handlingAnssi Kääriäinen
This one cleaned up add_filter() negated filter generation. As a side effect split_exclude() was cleaned up, too. Refs #19849
2013-02-20Added a db_constraint option to ForeignKeys.Alex Gaynor
This controls whether or not a database level cosntraint is created. This is useful in a few specialized circumstances, but in general should not be used!
2013-02-20Fixed #19598 -- Fixed jQuery tagName retrievingClaude Paroz
Thanks rj at rudiculous.net for the report.
2013-02-20Replaced the obsolete toggle event handling JS functionClaude Paroz
The toggle(func1, func2) event handling function has been removed in jQuery 1.9.
2013-02-20Fixed #14571 -- Updated embedded jQuery from 1.4.2 to 1.9.1Claude Paroz
Thanks dArignac for the initial patch.
2013-02-20Add test for collapsible fieldset functionality in adminClaude Paroz
2013-02-19This function is unused and should have been removed a few releases ago.Alex Gaynor
2013-02-19Merge pull request #739 from JustinTArthur/ticket-19855Tim Graham
Fixed typo in legacy database how to
2013-02-19Fixed #19728 - Updated API stability doc to reflect current meaning of "stable".Tim Graham
2013-02-19Fixes typo introduced by ↵Justin Turner Arthur
django/django@08dc90bccf7c4ffa8b04064d74b54c1150af5ff9. This is described in Trac ticket:19855.
2013-02-19Merge pull request #737 from hrbonz/docs_CBV_generic_views_typoTim Graham
Fixed typo in docs/topics/class-based-views/generic-display.txt
2013-02-19Update 1.5 release notes for XML and formset fixes.Carl Meyer
2013-02-19Added a default limit to the maximum number of forms in a formset.Aymeric Augustin
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19Checked object permissions on admin history view.Carl Meyer
This is a security fix. Disclosure and advisory coming shortly. Patch by Russell Keith-Magee.
2013-02-19Restrict the XML deserializer to prevent network and entity-expansion DoS ↵Carl Meyer
attacks. This is a security fix. Disclosure and advisory coming shortly.
2013-02-19Added a new required ALLOWED_HOSTS setting for HTTP host header validation.Carl Meyer
This is a security fix; disclosure and advisory coming shortly.
2013-02-19Fixed #19852 - Updated admin fieldset example for consistency.Tim Graham
Thanks chris.freeman.pdx@ for the suggestion.
2013-02-19Updated a couple admonitions to use the warning directive.Tim Graham
2013-02-19Fixed #18789 - Fixed some text wrap issues with methods in the docs.Tim Graham
Thanks neixetis@ for the report.
2013-02-19Ensured a connection is established when checking the database version.Aymeric Augustin
Fixed a test broken by 21765c0a. Refs #18135.
2013-02-19Implemented Oracle version as a cached property.Aymeric Augustin
2013-02-19Update docs/topics/class-based-views/generic-display.txtStefan "hr" Berder
simple typo in "Making friendly template contexts"
2013-02-19Avoided related_name conflicts in testsAnssi Kääriäinen
2013-02-19Removed accidentally committed fileAnssi Kääriäinen
2013-02-19Fixed #10870 -- Added aggreation + generic reverse relation testFlorian Hahn
2013-02-19Fixed #19837 -- Refactored split_exclude() join generationAnssi Kääriäinen
The refactoring mainly concentrates on making sure the inner and outer query agree about the split position. The split position is where the multijoin happens, and thus the split position also determines the columns used in the "WHERE col1 IN (SELECT col2 from ...)" condition. This commit fixes a regression caused by #10790 and commit 69597e5bcc89aadafd1b76abf7efab30ee0b8b1a. The regression was caused by wrong cols in the split position.
2013-02-18Added required methods in BaseDatabaseWrapper.Aymeric Augustin
I should have included this in 29628e0b6e5b1c6324e0c06cc56a49a5aa0747e0.
2013-02-18Implemented PostgreSQL version as a cached property.Aymeric Augustin
2013-02-18Removed duplicate caching of mysql_version.Aymeric Augustin
The manual caching in self.server_version and the cached_property decorator are redundant.
2013-02-18Fixed #15119 -- Stopped pinging the MySQL server.Aymeric Augustin
2013-02-18Simplified MySQL version checking.Aymeric Augustin
Django used to check the version of MySQL before handling the first request, which required: - opening a connection - closing it, to avoid holding it idle until the first request. This code isn't necessary any longer since Django dropped support for some versions of MySQL, and other database backends don't implement a similar dance. For consistency and maintenability, remove it. Reverts 4423757c0c50afbe2470434778c8d5e5b4a70925. Closes #18135.
2013-02-18Factored out common code in database backends.Aymeric Augustin
2013-02-18Fixed #19717 - Removed mentions of "root QuerySet" in docs.Tim Graham
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
2013-02-18Avoided firing the request_finished signal in tests.Aymeric Augustin
* Avoided calling BaseHttpResponse.close(). The test client take care of that since acc5396e. * Disconnected the request_finished signal when this method must be called. The test client has a similar implementation since bacb097a.
2013-02-18Removed an unecessary function.Aymeric Augustin
It was introduced by the refactoring in 5a4e63e6 and made redundant by the refactoring in 18934677.
2013-02-18Fixed #19839 -- Isolated auth tests from customized TEMPLATE_LOADERSClaude Paroz
Thanks limscoder for the report.
2013-02-18Corrected INSTALLED_APPS syntax in 1.5 release notes.Simon Meers