summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
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.
2012-10-24Fixed #13222 -- Made HttpResponse iterable onceAymeric Augustin
response.content can be accessed many times as desired, and always returns the same result. iter(response) works only once and consumes the iterator.
2012-10-24Fixed #6527 -- Provided repeatable content accessAymeric Augustin
in HttpResponses instantiated with iterators.
2012-10-23Fixed #19088 -- Always escape % inside blocktrans tagClaude Paroz
Thanks vlinhart for the report and Łukasz Rekucki for the patch.
2012-10-22Fixed #19164 -- Fixed diffsettings command broken in fix for #18545.Carl Meyer
Thanks Mario César for the report and draft patch.
2012-10-23Reverted 6a64822bf4632707212314a25a843c862bdb3874.Aymeric Augustin
This commit caused every test that does two or more assertContains to fail, because of #6527. It also made HttpResponse non-pickleable. Refs #13222.
2012-10-22Fixed #13222 -- Repeated iteration of HttpResponseAymeric Augustin
Thanks teepark for the report and grahamd for his insights.
2012-10-22Cleaned up i18n regression testsClaude Paroz
2012-10-21Added tests for conditional_content_removal.Aymeric Augustin
Refs #7581. Thanks mrmachine.
2012-10-21Merge pull request #457 from JanBednarik/ticket_19142Claude Paroz
Fixed #19142 -- Language codes can include numbers (RFC 3066)
2012-10-20Merge pull request #444 from mitar/patch-2Alex Gaynor
Allow reversed iteration over SortedDict.
2012-10-21Fixed #19142 -- Language codes can include numbers (RFC 3066).Jan Bednařík
2012-10-21Fixed #19151 -- Added missing methods to EmptyQuerySet.Jan Bednařík
Added values() and values_list() methods to EmptyQuerySet.
2012-10-20Used @override_settings in several tests.Aymeric Augustin
2012-10-20Fixed #7581 -- Added streaming responses.Aymeric Augustin
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-20Used FakePayload in requests testsClaude Paroz
2012-10-20Fixed #19094 -- Improved FakePayload to support write, len and string inputClaude Paroz
Thanks Ondrej Slinták for the suggestion.
2012-10-20Fixed #5611 -- Restricted accepted content types in parsing POST dataClaude Paroz
Thanks paulegan for the report and Preston Holmes for the review.
2012-10-20Removed custom WSGIRequestHandler.get_environClaude Paroz
We probably historically customized it for good reasons, but currently, the differences with upstream Python are not significant any longer. Also fixes #19075 for which a test has been added.
2012-10-18Fixed #8001 -- Made redirections after add/edit in admin customizable.Ramiro Morales
Also fixes #18310.
2012-10-18Added missed poisoned host header testsPreston Holmes
2012-10-15Fixed assertXMLEqual when first node was a commentClaude Paroz
2012-10-15Added tests for reversed iteration over SortedDict.Mitar
2012-10-13Fixed #16479 - Forms generated from formsets use ErrorList instead of ↵Ludovic Delaveau
supplied error_class Patch with tests from charettes, updated.
2012-10-12Removed country-specific localflavor tests.Adrian Holovaty
They now live in separate django-contrib-XX packages.
2012-10-10Removed some uses of F() expression & and |Anssi Kääriäinen
Refs #16211
2012-10-10Fixed #18927 -- Fixed bulk_create tests when no has_bulk_insertMichael Manfre
2012-10-10Moved F() '&' and '|' to .bitand() and .bitor()Anssi Kääriäinen
Done for consistency with Q() expressions and QuerySet combining. This will allow usage of '&' and '|' as boolean logical operators in the future. Refs #16211.
2012-10-09Fixed test failure after IDN domain validation fixClaude Paroz
Refs #17867. The address in test_email_regexp_for_performance used to take forever (security issue), then was supposed to fail after the fix (commit 9f8287a3f). Now we are less strict with domain validation, due to new IDN domains, hence the validation of this address pass now.
2012-10-09Fixed #18153 -- Reverse OneToOne lookups on unsaved instances.Aymeric Augustin
Thanks David Hatch and Anssi Kääriäinen for their inputs.
2012-10-09Fixed #19095 -- invalid code in multidb tests.Aymeric Augustin
2012-10-09Moved some email validation tests to validators testsClaude Paroz
2012-10-08Fixed #19087 -- Ensured query's base table is never LOUTER joinedAnssi Kääriäinen
This fixes a regression created by join promotion logic refactoring: 01b9c3d5193fe61b82ae8b26242a13fdec22f211 Thanks to Ivan Virabyan for the report.
2012-10-08[py3] Decoded the parsed source file encoding in debug viewClaude Paroz
2012-10-06Removed ad-hoc support for usage of short names of built-in DB backends.Ramiro Morales
This non-standard naming was deprecated in Django 1.2.
2012-10-06Added assertXML[Not]Equal assertionsClaude Paroz
This is especially needed to compare XML when hash randomization is on, as attribute order may vary. Refs #17758, #19038. Thanks Taylor Mitchell for the initial patch, and Ian Clelland for review and cleanup.
2012-10-06Fixed #19069 -- Improved the error message when trying to query a swapped model.Russell Keith-Magee
Thanks to Preston Holmes for the suggestion.
2012-10-03Fixed #14567 -- Made ModelMultipleChoiceField return EmptyQuerySet as empty ↵Stephen Burrows
value
2012-10-01Fixed postgres rollback issue with fixture testPreston Holmes
2012-09-30Fixed #9279 -- Added ignorenonexistent option to loaddataPreston Holmes
Thanks to Roman Gladkov for the initial patch and Simon Charette for review.
2012-09-30Fixed #18807 -- Made 404.html and 500.html optionalClaude Paroz
Thanks Aymeric Augustin for the report and Jannis Leidel for the review.
2012-09-30Fixed #7936 -- Added Last-Modified header to feedsClaude Paroz
Thanks julianb for the report and the initial patch, and Roman Gladkov for working on tests.
2012-09-29Fixed #18993 -- 'django' logger logs to console when DEBUG=TrueClaude Paroz
Thanks Preston Holmes for the review.
2012-09-29Merge branch 'ticket15695'Florian Apolloner
2012-09-28Fixed #18676 -- Allow fast-path deletion of objectsAnssi Kääriäinen
Objects can be fast-path deleted if there are no signals, and there are no further cascades. If fast-path is taken, the objects do not need to be loaded into memory before deletion. Thanks to Jeremy Dunck, Simon Charette and Alex Gaynor for reviewing the patch.
2012-09-28Added a way to check if a signal has listenersAnssi Kääriäinen
2012-09-28Used get_current_site in comments feed classClaude Paroz
2012-09-27Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} ↵Julien Phalip
accept literals wrapped in single quotes. Thanks to lanyjie for the report.