summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 #23774 -- Clarified QuerySet.order_by() and related models.Tim Graham
2014-11-12Removed return from __init__.Aymeric Augustin
__init__ isn't allowed to return anything other than None and it isn't common practice to include a return statement.
2014-11-12Fixed #23775 -- Added docs for --bisect and --pair runtests options.wrwrwr
Thanks Baptiste Mispelon for review.
2014-11-12Remove Field.get_validator_unique_lookup_type()Tim Graham
Usage of this method was removed pre 1.0 (c2ba59fc).
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-12Removed extra enumerate() from Query.setup_joins()Anssi Kääriäinen
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-12Improved Query.names_to_path docstringAnssi Kääriäinen
2014-11-11Normalized opening a file and decoding its content.Aymeric Augustin
`io.open` is required on Python 2.7. Just `open` would work on Python 3.
2014-11-11Removed import forgotten in previous commit.Aymeric Augustin
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 spelling errors in docs.Tim Graham
2014-11-11Fixed #23750 -- Allowed core.checks.register to be used as a functionaverybigant
2014-11-11Simplified Query.build_lookup()Anssi Kääriäinen
2014-11-10Fix a typo in 1.7 release notesaruseni
2014-11-10Fixed negligible formatting error.Aymeric Augustin
2014-11-10Merge pull request #3489 from tchaumeny/testcases_cleanupAymeric Augustin
Removed legacy code from old transaction system
2014-11-10Removed legacy code from old transaction systemThomas Chaumeny
2014-11-10Simplified MySQL storage engine detection using INFORMATION_SCHEMA.ENGINES tableThomas Chaumeny
Query the table introduced in MySQL 5.1; refs #23144.
2014-11-10Fixed #23789 -- TemplateResponse handles context differently from renderLuke Plant
2014-11-10Fixed a typo in 1.6 release notes.aruseni
2014-11-09Fixed #23785 -- Typo in docs/releases/1.6.txtTim Graham
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-05Added a dummy class for HTMLParserError; refs #23763.Tim Graham
2014-11-05Removed redundant link in 1.7 release notes.Tim Graham
2014-11-05Added "Features removed in 1.8" section to release notes.Tim Graham
2014-11-05Removed confusing paragraph from the docs.Loic Bistuer
This snippet wasn't particularly helpful as `add_error()` is described in greater details in the following section. Thanks Claude Paroz for the report.
2014-11-04Updated six to 1.8.0.Tim Graham
2014-11-04Fixed #23531 -- Added CommonMiddleware.response_redirect_class.Berker Peksag
2014-11-04Fix minor typo in documentation.Marc Tamlyn
2014-11-04Added missing docs to DiscoverRunner for keepdb option; refs #20550.Tim Graham
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-04Fixed links to mysqlclient in database notes.Tim Graham
2014-11-04Added a warning about nonexistent FK constraints when unmigrated apps depend ↵Tim Graham
on migrated ones. Thanks NotSqrt for the report; refs #23741.
2014-11-04Added HStoreField.Marc Tamlyn
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
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-03Changed docstrings in admindocs/utils to comply to PEP 257Zan Anderle
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 spelling mistake in docs/ref/request-response.txtTim Graham
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.