summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-12-29Removed csrf_response_exempt and csrf_view_exempt.Aymeric Augustin
2012-12-29Removed legacy ways of calling cache_page.Aymeric Augustin
2012-12-29Removed truncate_words and truncate_html_words.Aymeric Augustin
2012-12-29Removed obsolete compatibility functions for old Pythons.Aymeric Augustin
2012-12-29Removed support is_safe and needs_autoescape as function attributes.Aymeric Augustin
2012-12-29Removed IGNORABLE_404_STARTS/ENDS settings.Aymeric Augustin
2012-12-29Removed HttpRequest.raw_post_data.Aymeric Augustin
2012-12-29Removed django.core.management.setup_environ and execute_manager.Aymeric Augustin
2012-12-29Removed django.core.cache.backends.memcached.CacheClass.Aymeric Augustin
2012-12-29Removed django.contrib.markup.Aymeric Augustin
2012-12-29Removed django.contrib.localflavor.Aymeric Augustin
Each localflavor lives on as a separate app.
2012-12-29Removed legacy shortcut for importing GeoIP.Aymeric Augustin
2012-12-29Removed the legacy form wizard.Aymeric Augustin
2012-12-29Removed django.contrib.databrowse.Aymeric Augustin
RIP -- you served us well.
2012-12-29Removed interpolation of post_url_continue in the admin.Aymeric Augustin
2012-12-29Removed django.conf.urls.defaults.Aymeric Augustin
2012-12-29Removed backwards-compatibility shim for #16288.Aymeric Augustin
Also unit-tested django.utils.log.RequireDebugTrue for consistency.
2012-12-28Fix #19524 -- Incorrect caching of parents of unsaved model instances.Aymeric Augustin
Thanks qcwxezdas for the report. Refs #13839.
2012-12-27Update django/contrib/staticfiles/management/commands/collectstatic.pyMitar
Fixed small output error.
2012-12-27Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b.Aymeric Augustin
Refs #9893, #18515. Thanks Russell for the report.
2012-12-26Fixed #16408 -- Re-fixed value conversion with Spatialite backendClaude Paroz
2012-12-24Prevented caching of streaming responses.Aymeric Augustin
The test introduced in 4b278131 accidentally passed because of a limitation of Python < 3.3. Refs #17758, #7581.
2012-12-24Fixed #19505 -- A more flexible implementation for customizable admin ↵Julien Phalip
redirect urls. Work by Julien Phalip. Refs #8001, #18310, #19505. See also 0b908b92a2ca4fb74a103e96bb75c53c05d0a428.
2012-12-24Fixed #19204 -- Replaced python2-style exception syntax.Florian Apolloner
Thanks to garrison for the report and patch.
2012-12-24Fixed HTML comparisons of class="foo bar" and class="bar foo" in testsLuke Plant
Refs #17758
2012-12-24Made admin generated changelist URLs independent of dict orderingLuke Plant
2012-12-24Sort HTML attributes on generated formsIan Clelland
2012-12-24Use new TestCase methods for equality comparisonsIan Clelland
2012-12-24Add assertJSONEqual method to TestCaseIan Clelland
2012-12-24Add assertInHTML method to TestCaseIan Clelland
2012-12-22Fixed #19509 -- Fixed crypt/bcrypt non-ascii password encodingClaude Paroz
Also systematically added non-ascii passwords in hashers test suite. Thanks Vaal for the report.
2012-12-22Fixed #19468 -- Decoded request.path correctly on Python 3.Aymeric Augustin
Thanks aliva for the report and claudep for the feedback.
2012-12-22Fixed #19487 -- Used str in the test client's WSGI environ.Aymeric Augustin
This regression was introduced by the unicode_literals patch. The WSGI spec mandates that environ contains native strings.
2012-12-21Fixed #19387 -- Preserved SafeData status in contrib.messagesClaude Paroz
Thanks Anton Baklanov for the report and the patch.
2012-12-20Fixed a regression in distinct_onAnssi Kääriäinen
Caused by regression fix for #19500.
2012-12-20Fixed #18854 -- Join promotion in disjunction casesAnssi Kääriäinen
The added promotion logic is based on promoting any joins used in only some of the childs of an OR clause unless the join existed before the OR clause addition.
2012-12-20Fixed #19500 -- Solved a regression in join reuseAnssi Kääriäinen
The ORM didn't reuse joins for direct foreign key traversals when using chained filters. For example: qs.filter(fk__somefield=1).filter(fk__somefield=2)) produced two joins. As a bonus, reverse onetoone filters can now reuse joins correctly The regression was caused by the join() method refactor in commit 68847135bc9acb2c51c2d36797d0a85395f0cd35 Thanks for Simon Charette for spotting some issues with the first draft of the patch.
2012-12-20Fixed #19401 -- Ensure that swappable model references are case insensitive.Russell Keith-Magee
This is necessary because get_model() checks are case insensitive, and if the swapable check isn't, the swappable logic gets tied up in knots with models that are partially swapped out. Thanks to chris@cogdon.org for the report and extensive analysis, and Preston for his work on the draft patch.
2012-12-19Fixed #18172 -- Made models with __iter__ usable in ModelMultipleChoiceFieldPatryk Zawadzki
Thanks to Patryk Zawadzki for the patch.
2012-12-18Fixed #19470 - Clarified widthratio example.Tim Graham
Thanks orblivion for the suggestion.
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-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 #19483 -- Improved import error message in contrib.commentsClaude Paroz
Thanks Valentin Lorentz for the report and the suggested fix.
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-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.