summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-18Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/loading.py django/db/models/options.py
2012-12-18Fixed #19441 -- Created PostgreSQL varchar index when unique=TrueClaude Paroz
Thanks Dylan Verheul for the report and Anssi Kääriäinen for the review.
2012-12-17Replaced '__' with LOOKUP_SEP in sql/query.pyAnssi Kääriäinen
Thanks to Simon Charette for report.
2012-12-17Fixed typo in WidthRatioNode's error.Baptiste Mispelon
2012-12-17Fixed #19485 -- Python 3 compatibility for c2a6b2a4.Aymeric Augustin
Refs #9589.
2012-12-16Made sure connections are actually closed in backends testsAnssi Kääriäinen
2012-12-16Fixed #19197 -- fixed convert_values() for nullable numeric fieldsAnssi Kääriäinen
Cleaned up the implementation of base convert_values() a little, and made sure it accepts None as a value for numeric fields. There are no tests attached. The reason is that not all of the convert_values() accept None as a value for numeric fields (for example sqlite3.convert_values()). The reason the base convert_values() needs to accept None is that this situation might arise in custom compilers for 3rd party backends. It is easy to keep the convert_values() working, so lets do that.
2012-12-16Fixed #19279 - Clarified order of database setup and Django install.Tim Graham
Thanks colinnkeenan for the suggestion.
2012-12-16Fixed #19483 -- Improved import error message in contrib.commentsClaude Paroz
Thanks Valentin Lorentz for the report and the suggested fix.
2012-12-16Replaced the test case hierarchy schema with a vector version.Aymeric Augustin
The OmniGraffle source file is included for future use.
2012-12-16Fixed #16679 -- Use caching to speed up signal sendingAnssi Kääriäinen
2012-12-16Fixed #18718 - Documented django.utils.encoding.filepath_to_uriTim Graham
2012-12-16Added PDF version of SVG file for latexpdf builds.Aymeric Augustin
Thanks Tim Graham for reporting this issue and testing the fix.
2012-12-16Fixed #10790 -- Refactored sql.Query.setup_joins()Anssi Kääriäinen
This is a rather large refactoring. The "lookup traversal" code was splitted out from the setup_joins. There is now names_to_path() method which does the lookup traveling, the actual work of setup_joins() is calling names_to_path() and then adding the joins found into the query. As a side effect it was possible to remove the "process_extra" functionality used by genric relations. This never worked for left joins. Now the extra restriction is appended directly to the join condition instead of the where clause. To generate the extra condition we need to have the join field available in the compiler. This has the side-effect that we need more ugly code in Query.__getstate__ and __setstate__ as Field objects aren't pickleable. The join trimming code got a big change - now we trim all direct joins and never trim reverse joins. This also fixes the problem in #10790 which was join trimming in null filter cases.
2012-12-16Fixed #18816 -- Removed "trim" argument from add_filter()Anssi Kääriäinen
The trim argument was used by split_exclude() only to trim the last join from the given lookup. It is cleaner to just trim the last part from the lookup in split_exclude() directly so that there is no need to burden add_filter() with the logic needed for only split_exclude().
2012-12-16Fixed #19469 -- Removed opts.get_ordered_objects() and related codeAnssi Kääriäinen
The code was dead-code since 2006.
2012-12-16Corrected tests depending on the error message on the AuthenticationForm.Russell Keith-Magee
Refs #19368, and the fix introduced in 27f8129d64292868f6a328f7bf9a1bed67967ff3.
2012-12-15Fixed #19368 -- Ensured that login error messages adapt to changes in the ↵Russell Keith-Magee
User model. Thanks to un33k for the report.
2012-12-15Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.Russell Keith-Magee
This makes it easier to make a ModelBackend-compliant (with regards to permissions) User model. Thanks to cdestigter for the report about the relationship between ModelBackend and permissions, and to the many users on django-dev that contributed to the discussion about mixins.
2012-12-15Fixed #19472 -- Documented the testing requirements and tools for custom ↵Russell Keith-Magee
User models. Thanks to gcc for the report.
2012-12-15Fixed #19384 -- Documented the behavior of custom managers on abstract models.Russell Keith-Magee
This documents the behavior introduced by cc337a74, which is BACKWARDS INCOMPATIBLE for any attempt to invoke a method on a manager using the abstract class as the calling class (e.g., AbstractBase.objects.do_something()) Thanks to mhsparks for the report.
2012-12-15Fixed #19344 - Documented how to run django-admin in a virtualenv on Windows.Tim Graham
Thanks Hourann Bosci for the patch.
2012-12-15Fixed #19342 - Added new tutorials to the 1.5 release notesTim Graham
2012-12-15Fixed a couple of docstring typos.Ramiro Morales
2012-12-15Fixed #9589 -- Made development web server more robust in the presence of a ↵Ramiro Morales
wider variety of code errors. Thanks goes to contributor with Trac user 'berto' for the patch.
2012-12-15Fixed #9962 - Added a testing tutorial.Tim Graham
Thank-you Daniele Procida for the first draft and shaibi, Aymeric, and others for the reviews.
2012-12-14Merge pull request #585 from blongden/clarify_php_refsTim Graham
Removed poor PHP references
2012-12-14Added 'license' value to the setup.py fixes #19430Pablo Recio
2012-12-14Fixed #2304 -- Documented TRANSACTIONS_MANAGED.Aymeric Augustin
2012-12-13Removes PHP referencesBen Longden
2012-12-13Fixed a couple of stale tests caused by patch for #19462Anssi Kääriäinen
Commit was 088d3bc2f84b6b68fee7e5de053b58049bd110e7
2012-12-13Fixed #19462 -- Made assertQuerysetEqual detect undefined orderingAnssi Kääriäinen
If there are more than one values to compare against and the qs isn't ordered then assertQuerysetEqual will raise a ValueError.
2012-12-12Fixed #19432 -- Provided better error message for get_object_or_404Claude Paroz
Thanks Kit Sunde for the report and Brian Holdefehr for the initial patch.
2012-12-11Fixed #19461 - Linked to psycopg in topics/install.txtTim Graham
Thanks Chris Jerdonek for the suggestion.
2012-12-11Fixed #19377 - Emphasized database host link in tutorialTim Graham
2012-12-11Fixed an order dependant test failure.Florian Apolloner
2012-12-10Fixed a test failure in the comment tests.Florian Apolloner
2012-12-10Fixed a security issue in get_host.Florian Apolloner
Full disclosure and new release forthcoming.
2012-12-10Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users.Florian Apolloner
2012-12-10Amended an SQL test fixture to not include an id valueClaude Paroz
Some backends might need special handling for auto-increment values. This was introduced in 5fa5621f574. Thanks Michael Manfre for spotting the issue.
2012-12-09Edited the middleware doc for completeness, clarity, and consistency.Aymeric Augustin
2012-12-09Fixed #12502 -- Improved middleware diagram.Aymeric Augustin
2012-12-09Fixed #19392 -- Improved error for old-style url tags with dashes.Aymeric Augustin
Thanks dloewenherz for the report.
2012-12-08Removed US localflavor-specific tests from coreClaude Paroz
Also fixes #9045.
2012-12-08Fixed #19389 -- Docs on the location of contrib apps tests.Aymeric Augustin
2012-12-08Merge pull request #572 from un33k/masterAymeric Augustin
minor spelling error fix in the docs
2012-12-08Fixed #19439 -- Removed unused template tag library in change_password.htmlClaude Paroz
Thanks ppetrid for the report.
2012-12-08Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overridesClaude Paroz
Thanks joebuyer at manycycles.com for the report and Simon Charette for the review.
2012-12-08Fixed a string detection in ogrinspect.pyClaude Paroz
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.