summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
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 #23750 -- Allowed core.checks.register to be used as a functionaverybigant
2014-11-11Simplified Query.build_lookup()Anssi Kääriäinen
2014-11-10Fixed negligible formatting error.Aymeric Augustin
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-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-04Updated six to 1.8.0.Tim Graham
2014-11-04Fixed #23531 -- Added CommonMiddleware.response_redirect_class.Berker Peksag
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-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 #21281 -- Made override_settings act at class level when used as a ↵Thomas Chaumeny
TestCase decorator.
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 #23731 -- Fixed migrations crash when adding blank GeometryFields on ↵Tim Graham
PostGIS. Thanks raratiru for the report and Claude Paroz for review.
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-31Renamed SpatiaLite feature flag introduced in refs #23152.Tim Graham
Thanks Doug Goldstein for the suggestion.
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-30Clarified BaseCommand --traceback behavior.Matthew Somerville
2014-10-30Fixed #23152 -- Added support for transactional Spatialite metadata ↵Tim Graham
initialization. Thanks Doug Goldstein for the initial patch.
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-30Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday.slollo
2014-10-30Fixed #23558 -- documented slugify limitationsDavid Hoffman
2014-10-30Fixed #23556 -- Raised a more meaningful error message when migrations refer ↵Markus Holtermann
to an unavailable node
2014-10-29Fixed #23614 -- Changed the way the migration autodetector orders ↵Markus Holtermann
unique/index_together Thanks to Naddiseo for the report and Tim Graham for the review
2014-10-29Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.Tim Graham
2014-10-29Limited lines to 119 characters in django/{contrib,db}.Berker Peksag
Refs #23395.
2014-10-28Fixed #23606 -- Implemented Client and RequestFactory trace() methods.Rigel Di Scala
Thanks KevinEtienne for the suggestion.
2014-10-28Required MySQLdb >= 1.2.5 for fractional seconds supportClaude Paroz
On MySQLdb < 1.2.5, MySQLdb returns None when fetching datetime/time values with fractional seconds. See https://github.com/farcepest/MySQLdb1/issues/24
2014-10-28Fixed #19716 -- Added support for microseconds with MySQL 5.6.4 and upClaude Paroz
Thanks erik@cederstrand.dk for the report and Tim Graham for the review.
2014-10-28Stopped stripping microseconds with MySQL backendClaude Paroz
Refs #19716.
2014-10-28Fixed #23721 -- check_related_objects without calling __iter__Collin Anderson
Refs #14334
2014-10-28Fixed #23493 -- Added bilateral attribute to TransformThomas Chaumeny
2014-10-27Fixed typo in MySQL backend doctringClaude Paroz
Thanks CHI Cheng for the report.