summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-11-16Moved all template loaders under django.template.loaders.Aymeric Augustin
Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API.
2014-11-16Fixed #21612 -- Made QuerySet.update() respect to_fieldKaren Tracey
2014-11-16Renamed qn to compilerJosh Smeaton
2014-11-16Removed references to the deprecated assertRaisesRegexp method.Simon Charette
2014-11-15Added tests/README.rstDanilo Bargen
2014-11-15Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign().Berker Peksag
2014-11-15Added a new GeoJSON serialization format for GeoDjangoClaude Paroz
Thanks Reinout van Rees for the review.
2014-11-15Fixed #23835: Changed circular dependency in DFS to be less infiniteAndrew Godwin
2014-11-15Merge pull request #3531 from ddaan/ticket_23834Marc Tamlyn
fixed #23834 -- added test and fix to check for default null on ArrayField
2014-11-15added test and fix to check for default null on ArrayFieldDaan Vielen
2014-11-15Revert "Use topological sort for migration operation dependency resolution"Tim Graham
This commit broke the tests on Python 3. This reverts commit 13d613f80011852404198dfafd1f09c0c0ea42e6.
2014-11-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-11-15Use topological sort for migration operation dependency resolutionKlaas van Schelven
rather than an ad-hoc algorithm
2014-11-15Fixed #22407 -- Added AdminEmailHandler.send_mail().Berker Peksag
2014-11-13Merge pull request #3481 from manfre/ticket-16358Michael Manfre
Fixed #16358 - Made memcache backend delete old value on a failure to set.
2014-11-13Fixed #23765 -- Removed BooleanField default check which often yielded false ↵Tim Graham
positives.
2014-11-13Fixed #23761 -- Added test for MySQL validator and db_type is None.Adam DePue
The issue was fixed on master in e9103402c0fa873aea58a6a11dba510cd308cb84 so this just forwardports the test and release notes from stable/1.7.x. Forwardport of 2d12a59938 from stable/1.7.x
2014-11-13Fixed flake8 warning.Tim Graham
2014-11-13Fixed #23806 -- Added a test case for settings.DISALLOWED_USER_AGENTS.Sean Wang
2014-11-13Fixed #16358 - Made memcache backend delete old value on a failure to set.Michael Manfre
Default Memcached configuration allows for a maximum object of 1MB and will fail to set the key if it is too large. The key will be deleted from memcached if it fails to be set. This is needed to avoid an issue with cache_db session backend using the old value stored in memcached, instead of the newer value stored in the database.
2014-11-12Fixed #23795 -- Fixed a regression in custom form fieldsBaptiste Mispelon
Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report.
2014-11-12Fixed #23730 -- Moved support for SimpleCookie HIGHEST_PROTOCOL pickling to ↵Tim Graham
http.cookie. This fix is necessary for Python 3.5 compatibility (refs #23763). Thanks Berker Peksag for review.
2014-11-12Fixed #22967 -- Made Model._do_update consistentJozef Knaperek
Made _do_update behave more strictly according to its docs, including a corner case when specific concurent updates are executed and select_on_save is set.
2014-11-11Fixed #23788 -- Used new JavaScript support in recent gettextClaude Paroz
JavaScript string extraction support has been added in gettext 0.18.3. Thanks Aymeric Augustin for the review.
2014-11-11Raised SuspiciousFileOperation in safe_join.Aymeric Augustin
Added a test for the condition safe_join is designed to prevent. Previously, a generic ValueError was raised. It was impossible to tell an intentional exception raised to implement safe_join's contract from an unintentional exception caused by incorrect inputs or unexpected conditions. That resulted in bizarre exception catching patterns, which this patch removes. Since safe_join is a private API and since the change is unlikely to create security issues for users who use it anyway -- at worst, an uncaught SuspiciousFileOperation exception will bubble up -- it isn't documented.
2014-11-11Fixed #23750 -- Allowed core.checks.register to be used as a functionaverybigant
2014-11-10Fixed #23789 -- TemplateResponse handles context differently from renderLuke Plant
2014-11-06Fixed #23770 -- Changed serialization strategy for floats with respect to ↵Markus Holtermann
NaN and Inf Thanks to w0rp for the report
2014-11-04Fixed #23531 -- Added CommonMiddleware.response_redirect_class.Berker Peksag
2014-11-04Removed unused import.Tim Graham
2014-11-04Fixed #13181 -- Added support for callable choices to forms.ChoiceFieldPeter Inglesby
Thanks vanschelven and expleo for the initial patch.
2014-11-04Added HStoreField.Marc Tamlyn
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-11-03Fixed #5405 -- Added admindocs support for reStructured text in model docstringsZan Anderle
Thanks elvard and gkmngrgn for work on the patch and Markus H. for review.
2014-11-03Fixed #23300 -- Made assertTemplateUsed throw an error on responses not ↵Davide Ceretti
fetched using the test client. Thanks zags for the report and bmispelon for the patch.
2014-11-03Fixed #21281 -- Made override_settings act at class level when used as a ↵Thomas Chaumeny
TestCase decorator.
2014-11-03Refactored URLValidator tests by moving URLs to text files.Danilo Bargen
2014-11-03Fixed #18523 -- Added stream-like API to HttpResponse.Michael Kelly
Added getvalue() to HttpResponse to return the content of the response, along with a few other methods to partially match io.IOBase. Thanks Claude Paroz for the suggestion and Nick Sanford for review.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-11-03Fixed #23420 - broken warning for unbound naive datetime objectsAndy Chosak
Fixed issue with warning message displayed for unbound naive datetime objects when USE_TZ is True. Adds unit test that demonstrates the issue (discoverable when using a custom lookup in MySQL).
2014-11-03Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain
2014-10-31Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.Konrad Świat
If settings.FIXTURE_DIRS contains duplicates or a default fixture directory (app_name/fixtures), ImproperlyConfigured is raised. Thanks to Berker Peksag and Tim Graham for review.
2014-10-31Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same ↵Markus Holtermann
default value Thanks to Andrey Antukh for the report.
2014-10-31Fixed #23715 -- Prevented urlize from treating a trailing ! as part of an URLMarkus Holtermann
Thanks to 57even for the report.
2014-10-31Fixed #23670 -- Prevented partial import state during module autodiscoveryMarkus Holtermann
Thanks kostko for the report.
2014-10-31Avoided using private API get_template_from_string.Aymeric Augustin
2014-10-30Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.Simon Charette
Thanks Tim Graham for the review.
2014-10-30Fixed #23733 -- Fixed squashing migrations that depend on multiple apps.twidi
2014-10-30Fixed #8149 -- Made File.__iter__() support universal newlines.Jon Dufresne
The following are recognized as ending a line: the Unix end-of-line convention '\n', the Windows convention '\r\n', and the old Macintosh convention '\r'. http://www.python.org/dev/peps/pep-0278 Thanks tchaumeny for review.
2014-10-30Fixed #23556 -- Raised a more meaningful error message when migrations refer ↵Markus Holtermann
to an unavailable node