summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-11Merge pull request #218 from mgrouchy/ticket_18582Aymeric Augustin
Fixed #18582 -- Added a no-op close to BaseCache
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-08Merged pagination testsClaude Paroz
It is simpler/cleaner to have all pagination tests in a single file. Refs #16122.
2012-11-08Fixed #17144 -- MySQL again groups by PK onlyAnssi Kääriäinen
Thanks to Christian Oudard for the report and tests.
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-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-04Fixed py3 compatibility for 5a00a57aa591c766f5ee1d8c59b64618d74fe191Preston Holmes
2012-11-04Fixed #18949 -- Fix broken test interactions in ModelForms testsAnton I. Sipos
A test in Model Forms test was specifically referring to a fixed primary key, which was now being used up in a newly committed. This has been worked around by specifying a higher primary key.
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-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 #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-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-02Fixed #15361 - Documented performance considerations for QuerySet.get()Tim Graham
Thanks mmcnickle for the patch.
2012-10-31Fixed #19070 -- urlize filter no longer raises exceptions on 2.7Andrew Godwin
Thanks to claudep for the patch.
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-30Prevented file_upload tests to leave files behindClaude Paroz
Refs #19206.
2012-10-30Fixed #17744 -- Reset default file storage with setting_changed signalClaude Paroz
2012-10-30Fixed #5076 -- Properly decode POSTs with non-utf-8 payload encodingClaude Paroz
Thanks daniel at blogg.se for the report and Aymeric Augustin for his assistance on the patch.
2012-10-29Prevented leftover files and dirs in admin_scripts testsClaude Paroz
2012-10-29Fixed #17991 - prefetch_related fails with GenericRelation and varchar ID fieldLuke Plant
Thanks to okke@formsma.nl for the report, and carmandrew@gmail.com for the tests.
2012-10-28Fixed #18575 -- Empty DATABASES should default to dummy backendClaude Paroz
Thanks delormemarco@gmail.com for the report.
2012-10-28Fixed #18964 -- floatformat test passes under py3kAymeric Augustin
Thanks Russell for the report.
2012-10-28Fixed #18823 -- Ensured m2m.clear() works when using through+to_fieldAnssi Kääriäinen
There was a potential data-loss issue involved -- when clearing instance's m2m assignments it was possible some other instance's m2m data was deleted instead. This commit also improved None handling for to_field cases.
2012-10-27Marked a test as expectedFailure on OracleAnssi Kääriäinen
2012-10-27Fixed Oracle failure for "%" in table nameAnssi Kääriäinen
2012-10-26Fixed comment_test tests under hash randomization.Aymeric Augustin
Thanks clelland for the patch.
2012-10-26Fixed feedgenerator tests under hash randomizationAymeric Augustin
2012-10-26Fixed httpwrappers tests under hash randomizationAymeric Augustin
2012-10-26Fixed #16820 -- Treated '0' value as True for checkbox inputsClaude Paroz
Thanks Dan Fairs for the report and the initial patch.
2012-10-26Merge branch 'master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/__init__.py django/db/models/fields/related.py django/db/models/options.py
2012-10-26Fixed test failure under Python 2.x introduced in 3e10d22df5Luke Plant
2012-10-26Fixed test failures on Python 3.3 due to dict ordering assumptions.Luke Plant
Refs #19038
2012-10-26Fixed some test failures on Python 3.3 related to QueryDictLuke Plant
Refs #19038.
2012-10-26Avoid dependence on exact Python exception messagesIan Clelland
2012-10-26Don't use : as an invalid cookie characterIan Clelland
Since http://bugs.python.org/issue2193 has been resolved in favour of the colon in cookie names, we need to test invalid cookie removal using a different character. "@" is still considered invalid by all sources.
2012-10-26Fixed #19039 - Python 3.3 fails unit test for duplicate bad cookiesLuke Plant
Thanks to clelland for the report.
2012-10-26Fixed #15040 - Boolean fields return 0 and 1 when loaded through select_relatedLuke Plant
Thanks to homm for the report and ramiro for the patch.
2012-10-25Fixed timezone tests when dict randomization is onAymeric Augustin
Refs #17758.
2012-10-25Fixed #19187 -- Raise consistent error from qs.values().delete()Anssi Kääriäinen
2012-10-25Fixed #19102 -- Fixed fast-path delete for modified SELECT clause casesAnssi Kääriäinen
There was a bug introduced in #18676 which caused fast-path deletes implemented as "DELETE WHERE pk IN <subquery>" to fail if the SELECT clause contained additional stuff (for example extra() and annotate()). Thanks to Trac alias pressureman for spotting this regression.
2012-10-25Test for `ListView.page_kwarg`Tom Christie
2012-10-25Fixed #18796 -- Refactored conversion to bytes in HttpResponseAymeric Augustin
Thanks mrmachine for the review.