summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-11-15Another regression fix for select_related handlingAnssi Kääriäinen
This time gis compiler.get_default_columns() wasn't up to date. Thanks to CI another regression fixed. Refs #13781
2012-11-15Fixed a regression in select_relatedAnssi Kääriäinen
The regression was caused by the fix for #13781 (commit f51e409a5fb34020e170494320a421503689aea0). Reason was leaving off some crucial lines when resolving a merge conflict.
2012-11-15Fixed #13781 -- Improved select_related in inheritance situationsAnssi Kääriäinen
The select_related code got confused when it needed to travel a reverse relation to a model which had different parent than the originally travelled relation. Thanks to Trac aliases shauncutts for report and ungenio for original patch (committed patch is somewhat modified version of that).
2012-11-15Fixed #19058 -- Fixed Oracle GIS crashAnssi Kääriäinen
The problem is the same as in #10888 which was reintroduced when bulk_insert was added. Thanks to Jani Tiainen for report, patch and also testing the final patch on Oracle GIS.
2012-11-14Fixed #19272 -- Fixed gettext_lazy returned type on Python 2Claude Paroz
Thanks tyrion for the report.
2012-11-14Fixed #19186 -- Fixed sending mail with unicode content on Python 3Claude Paroz
Thanks alex_po for the report and Luke Plant for the analysis.
2012-11-13Fixed select_related performance regressionsAnssi Kääriäinen
The regression was caused by select_related fix for Oracle, commit c159d9cec0baab7bbd04d5d51a92a51e354a722a.
2012-11-13Removed use of SortedDict for query.alias_refcountAnssi Kääriäinen
This will have a smallish impact on performance. Refs #19276.
2012-11-13Some changes to SortedDict to make it faster under py2Anssi Kääriäinen
Refs #19276
2012-11-12Negligible spacing fix in utils/log.pyAdrian Holovaty
2012-11-11Tweaked cache key creation to avoid strict typing.Aymeric Augustin
This is a provisional change. See #19221 for details.
2012-11-11Merge pull request #218 from mgrouchy/ticket_18582Aymeric Augustin
Fixed #18582 -- Added a no-op close to BaseCache
2012-11-10Fixed #19273 -- Fixed DB cache backend on pg 9.0+ and py3Anssi Kääriäinen
There was a problem caused by Postgres 9.0+ having bytea_output default value of 'hex' and cache backend inserting the content as 'bytes' into a column of type TEXT. Fixed by converting the bytes value to a string before insert.
2012-11-10Allow custom User models to use the UserAdmin's change password view.Ryan Kaskel
2012-11-10Removed an impossible code path in cache functionClaude Paroz
2012-11-10Fixed #14264 -- Ensured settings.configure configures loggingClaude Paroz
Thanks Matt McDonald for the patch.
2012-11-09Fixed #19262 -- Support cookie pickling in SimpleTemplateResponseSean Breant
Refs #15863.
2012-11-09Fixed #19261 -- Delayed Queryset evaluation in paginatorsClaude Paroz
Thanks trbs for the report and the patch.
2012-11-09Added missing encoding preamble to gis tests.Florian Apolloner
'coverage html' did fail without it. Thanks to Claude Paroz for figuring it out.
2012-11-08Made Page class inherit collections.SequenceClaude Paroz
2012-11-08Fixed #17144 -- MySQL again groups by PK onlyAnssi Kääriäinen
Thanks to Christian Oudard for the report and tests.
2012-11-07Fixed #19257 -- Don't swallow command's KeyError in call_commandClaude Paroz
Thanks Giovanni Bajo for the report.
2012-11-06Fixed #14315 -- Made memcached backend handle negative incr/decr valuesClaude Paroz
Thanks Michael Manfre for the report and initial patch and Tobias McNulty for the review.
2012-11-06Fixed #19254 -- Bug in SESSION_FILE_PATH handling.Aymeric Augustin
Thanks simonb for the report. Refs #18194.
2012-11-05Fixed #8627 -- Prevented textareas to swallow first newline contentClaude Paroz
Browsers consider the first newline in textareas as some display artifact, not real content. Hence they are not sending it back to the server. If we want to keep initial newlines, we have to add one when we render the textarea. Thanks bastih for the report and initial patch.
2012-11-05Removed unnecessary import after b98083ce3dClaude Paroz
2012-11-04Fixed py3 compatibility for 5a00a57aa591c766f5ee1d8c59b64618d74fe191Preston Holmes
2012-11-04Merge pull request #495 from aisipos/ticket_18949Alex Gaynor
Fixed #18949 -- Improve performance of model_to_dict with many-to-many
2012-11-04Fixed #18949 -- Improve performance of model_to_dict with many-to-manyAnton I. Sipos
When calling model_to_dict, improve performance of the generated SQL by using values_list to determine primary keys of many to many objects. Add a specific test for this function, test_model_to_dict_many_to_many Thanks to brian for the original report and suggested fix.
2012-11-04Fixed #19240 -- include pagination error details in ListView 404Preston Holmes
Thanks to seawolf for the patch
2012-11-04Merge pull request #494 from mrj0/model_splitAlex Gaynor
model_split: Fixed #19236 - fixed error for abstract models with a split method
2012-11-04use six.string_types for python3Mike Johnson
2012-11-04Remove some bizzare and unnecesary code.Alex Gaynor
2012-11-04model_split: Fixed #19236 - fixed error for abstract models with a split methodMike Johnson
2012-11-04Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to ↵Alex Gaynor
jgelens for the original patch.
2012-11-03Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin
for Python 2 object model compatibility methods.
2012-11-03Fixed #15152 -- Avoided crash of CommonMiddleware on broken querystringAymeric Augustin
2012-11-03Fixed #18210 -- Escaped special characters in reverse prefixes.Gabriel Hurley
Ensured that special characters passed in to reverse via the prefix argument are properly escaped so that calls to django.utils.regex_helpers.normalize and/or string formatting operations don't result in exceptions. Thanks to toofishes for the error report.
2012-11-03Prevented host resolution when running dev serverClaude Paroz
Refs #19075, #2494. Thanks Karen Tracey for spotting the issue.
2012-11-03Fixed #19101 -- Decoding of non-ASCII POST data on Python 3.Aymeric Augustin
Thanks Claude Paroz.
2012-11-03Fixed #17549 -- Added a clickable link for URLFields in admin change list.Ulrich Petri
2012-11-02Deprecated depth kwarg on select_related.Preston Holmes
This is the start of a deprecation path for the depth kwarg on select_related. Removing this will allow us to update select_related so it chains properly and have an API similar to prefetch_related. Thanks to Marc Tamlyn for spearheading and initial patch. refs #16855
2012-11-02Fixed a regression in gis introduced by Query.select_fields removalAnssi Kääriäinen
2012-11-01Added WizardView.file_storage exception message and docsTim Graham
Thanks Danilo Bargen for the patch.
2012-11-01Fixed #16678 -- Wrote tests for contrib.redirects appClaude Paroz
Thanks Julien Phalip for the report.
2012-10-31Add `form` to formwizard context (includes tests)Kent Hauser
2012-10-31Fixed #19070 -- urlize filter no longer raises exceptions on 2.7Andrew Godwin
Thanks to claudep for the patch.
2012-10-31Fixed #17083 -- Allowed sessions to use non-default cache.Aymeric Augustin
2012-10-31Removed dupe_avoidance from sql/query and sql/compiler.pyAnssi Kääriäinen
The dupe avoidance logic was removed as it doesn't seem to do anything, it is complicated, and it has nearly zero documentation. The removal of dupe_avoidance allowed for refactoring of both the implementation and signature of Query.join(). This refactoring cascades again to some other parts. The most significant of them is the changes in qs.combine(), and compiler.select_related_descent().
2012-10-30Fixed #19174 -- Fixed capitalization errors in LANG_INFOClaude Paroz
Thanks waldeinburg for the report.