summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-02-06Bump version number for 1.6.2.1.6.2Jacob Kaplan-Moss
2014-02-05[1.6.x] Revert "Fixed #20296 -- Allowed SafeData and EscapeData to be lazy"Baptiste Mispelon
This reverts commit 2ee447fb5f8974b432d3dd421af9a242215aea44. That commit introduced a regression (#21882) and didn't really do what it was supposed to: while it did delay the evaluation of lazy objects passed to mark_safe(), they weren't actually marked as such so they could end up being escaped twice. Refs #21882. Backport of a878bf9b093bf15d751b070d132fec52a7523a47 from master.
2014-02-04[1.6.x] Fixed #21748 -- join promotion for negated AND conditionsAnssi Kääriäinen
Made sure Django treats case .filter(NOT (a AND b)) the same way as .filter((NOT a OR NOT b)) for join promotion. Heavily modified backpatch of 35cecb1ebd0ccda0be7a518d1b7273333d26fbae from master. Conflicts: django/db/models/sql/query.py tests/queries/tests.py
2014-02-04[1.6.x] Fixed #21413 -- resolve_columns fields misalignmentAnssi Kääriäinen
Backpatch of 9918c11114ac3ec9622631558ef26ebf3919cb69 from master. Conflicts: django/db/models/sql/compiler.py tests/model_inheritance_regress/tests.py
2014-01-30[1.6.x] Made Oracle introspect FloatFields correctlyShai Berger
Broke InspectDBTestCase.test_field_types in two: - a test_number_field_types, which now passes on Oracle too - a test_field_types, for all non-numeric fields, which is still expected to fail Also made some pep8 fixes in the tests file. Refs #19884 Thanks Tim Graham for review. Backport of e9d12ba from master
2014-01-30[1.6.x] Made Oracle introspect boolean fieldsShai Berger
Refs #19884 Backport of ad975c64fc from master
2014-01-26[1.6.x] Fixed #21823 -- Upgraded six to 1.5.2Tim Graham
Backport of 780ae7e9f8 from master.
2014-01-26[1.6.x] Fixed #21880 -- Added missing items to django.utils.timezone.__all__.Aymeric Augustin
Thanks Wim for the report. Backport of 2b154ae from master.
2014-01-24[1.6.x] Fixed #21787 -- regression in MTI .exclude() queriesAnssi Kääriäinen
Backpatch of 78a2617703bc1dada409f126db5c3db214913ff4 from master.
2014-01-12[1.6.x] Fixed #21452 -- Non-autocommit connections to PostgreSQL.Aymeric Augustin
When settings.DATABASES['default']['AUTOCOMMIT'] = False, the connection wasn't in autocommit mode but Django pretended it was. Thanks Anssi for analysing this issue. Refs #17062. Backport of 1afe7488 from master
2014-01-11[1.6.x] Fixed #21750 -- Fixed regression introduced by 4befb30.Loic Bistuer
Validating STATIC_ROOT in StaticFilesStorage.__init__ turned out to be problematic - especially with tests - because the storage refuses to work even if there are no actual interactions with the file system, which is backward incompatible. Originally the validation happened in the StaticFilesStorage.path method, but that didn't work as expected because the call to FileSystemStorage.__init__ replaced the empty value by a valid path. The new approach is to move back the check to the StaticFilesStorage.path method, but ensure that the location attribute remains None after the call to super. Refs #21581. Backport of 1e9e7351f8 from master
2014-01-10[1.6.x] Fixed docstring typo in django/forms/forms.py.Marc Sibson
Backport of 81bb8d1220 from master
2014-01-10[1.6.x] Fixed typo in docstrings of MonthArchiveViews.Michael Blatherwick
Backport of 270c9fe488 from master
2013-12-31[1.6.x] Fixed #21581 -- Fixed a number of issues with collectstatic.Loic Bistuer
When STATIC_ROOT wasn't set, collectstatic --clear would delete every files within the current directory and its descendants. This patch makes the following changes: Prevent collectstatic from running if STATIC_ROOT isn't set. Fixed an issue that prevented collectstatic from displaying the destination directory. Changed the warning header to notify when the command is run in dry-run mode. Backport of 4befb3015c from master
2013-12-31[1.6.x] Decode mails using the message encoding.Florian Apolloner
Backport of bfe9052831c6d7ad7501b71c884525b3b471eebc from master.
2013-12-31[1.6.x] Changed console and filebackend to use msg.as_bytes to output the ↵Florian Apolloner
data as it would get send via smtp. Backport of c988745cca1225496bfd36910dc3cec5065d8cc4 from master.
2013-12-31[1.6.x] Introduced as_bytes for SafeMIMEText (and other SafeMIME-classes).Florian Apolloner
This is to provide a consistent interface (namely bytes) for the smtp backend which after all sends bytes over the wire; encoding with as_string yields different results since mails as unicode are not really specified. as_string stays for backwardscompatibilty mostly and some debug outputs. But keep in mind that the output doesn't match as_bytes! Backport of 5dfd824d38ec7d1f695494e46d603e89cae68661 from master.
2013-12-28[1.6.x] Worked around a bug in python 3.3.3. Refs #21093Florian Apolloner
Backport of 280c1a65ccacd679bf298bf2b169ff01e7266b8e from master.
2013-12-28[1.6.x] Fixed #21093 -- Ensured that mails are not base64 encoded on python ↵Florian Apolloner
3.3.3+. Thanks to Arfrever for the report and Aymeric for the review. Backport of f28ea0230846c81e9b6725454bb3a10df24678aa from master.
2013-12-26[1.6.x] Fixed typo and slightly improved error message when db is missing ↵Loic Bistuer
time zone definitions. Refs #21432. Backport of 32e75803be from master
2013-12-26[1.6.x] Fixed #21627 -- Added unicode_literals to changepassword command.Jon Lønne
Fixed a crash when executing changepassword command when the user object representation contained non-ASCII characters. Backport of 398642fd9b from master
2013-12-26[1.6.x] Fixed #21662 -- Kept parent reference in prepared geometryClaude Paroz
Thanks Robert Scott for the report. Backport of 542198c1d0 from master.
2013-12-13[1.6.x] Removed weird unicode char in some de po filesClaude Paroz
Refs #21601.
2013-12-12[1.6.x] Post release version bump.Tim Graham
2013-12-12Bumped version number for 1.6.1.1.6.1Jacob Kaplan-Moss
2013-12-11[1.6.x] Fixed #21473 -- Limited language preservation to logoutLudwik Trammer
Current language is no longer saved to session by LocaleMiddleware on every response (the behavior introduced in #14825). Instead language stored in session is reintroduced into new session after logout.
2013-12-11[1.6.x] Fixed #21510 -- Readded search reset link in changelist search barClaude Paroz
Thanks moritz.pfeiffer at alp-phone.ch for the report and Tim Graham for the initial patch. Backport of c7c647419c from master.
2013-12-10[1.6.x] Updated translations from TransifexClaude Paroz
2013-12-07[1.6.x] Fixed #21551 -- Reenabled loading fixtures from subdirectoryClaude Paroz
This was a regression in Django 1.6 that was only partially restored in 839940f27f. Thanks Jonas Haag for the report. Backport of 41ebc4838d from master.
2013-12-07[1.6.x] Fixed #21568 -- Added missing ModelMultipleChoiceField to_python methodClaude Paroz
Thanks dibrovsd at gmail.com for the report and Simon Charette for the review. Backport of 8a9c8bb90 from master.
2013-12-07[1.6.x] Fixed #21530 -- Prevent AttributeError in default URLconf detection ↵Baptiste Mispelon
code. Thanks to @dmyerscoug for the report and original patch and to @alasdairnicol for the added tests. Backport of a020dd0a99da13d0f024d42c46f01d8f503e9d5e from master.
2013-12-05[1.6.x] Corrected setting name in gis test error message.Ramiro Morales
e36c165b14 from master.
2013-12-02[1.6.x] Fixed #21358 -- Allowed runserver on non-English localesClaude Paroz
Thanks svartalf for the report. Backport of 2080bce69 from master.
2013-11-30[1.6.x] Fixed #21535 -- Fixed password hash iteration upgrade.Tim Graham
Thanks jared_mess for the report. Backport of fddb0131d3 from master
2013-11-28[1.6.x] Fixed #21496 -- Fixed crash when GeometryField uses TextInputClaude Paroz
Thanks Rhett Garber for the report and initial patch. Backport of 34b8a3855 from master.
2013-11-26[1.6.x] Fixed #21448 -- Fixed test client logout with cookie-based sessionsClaude Paroz
Thanks Gunnar Scherf for the report and the suggested patch. Backport of 384816fcc from master.
2013-11-26[1.6.x] Fixed #21355 -- try importing _imaging from PIL namespace first.Richard Xia
Backport of 5725236c3e from master
2013-11-23[1.6.x] Fixed #21486 -- Prevented settings config in signal connectionClaude Paroz
This was particularly problematic in the chain get_wsgi_application -> db.connections import -> signal connection -> settings configuration. Thanks Jon Dufresne for the report. Backport of 42fef294464 from master.
2013-11-23[1.6.x] Fixed #21488 -- Multiple locales treatment in i18n commands.Ramiro Morales
Removed multiple locales separated by commas variation (that wasn't working as documented) in favor of simply allowing use of the ``--locale``/``-l`` options more than once for ``makemessages`` and ``compilemessages``. Thanks Romain Beylerian for the report and Claude, Simon for their help.
2013-11-22[1.6.x] Fixed #21443 -- Cannot show debug info on PY3's importlibBouke Haarsma
Thanks productions@zaziork.co.uk for the review. Backport of 18185724e6 from master.
2013-11-21[1.6.x] Fixed #21405 -- Prevented queryset overwrite in BaseModelAdminClaude Paroz
Thanks guido@20tab.com for the report and Tim Graham for the analyze. Backport of 1718b5256c from master.
2013-11-21[1.6.x] Fixed #21431 -- GenRel->FK list_filter regression in adminAnssi Kääriäinen
Report, analysis and tests from stephenmcd. Backpatch of 752d3d70da6291039f33781a0a2ef6f3b7c5fcb5 from master.
2013-11-20[1.6.x] Fixed #21472 -- Fixed inline formsets display when parent pk is 0Claude Paroz
Thanks agale031176@gmail.com for the report. Backport of fafb6cf049b from master.
2013-11-18[1.6.x] Fixed #21457 -- Allowed fixture file name to contain dotsClaude Paroz
Thanks Keryn Knight for the report. Backport of 97ac22ebfc from master.
2013-11-18[1.6.x] Added non-breaking spaces for humanize in RussianClaude Paroz
2013-11-17Updated humanize translations and added release note.Claude Paroz
Refs #21415.
2013-11-16[1.6.x] Fixed a regression caused by fix for #21428Anssi Kääriäinen
On Python 3 sorting Fields mixed with GenericForeignKeys doesn't work as GenericForeignKey isn't a subclass of django.db.models.fields.Field. Refs #21428. Backport of 326539f6a4 from master
2013-11-16[1.6.x] Fixed #21428 -- editable GenericRelation regressionAnssi Kääriäinen
The GenericRelation refactoring removed GenericRelations from model._meta.many_to_many. This had the side effect of disallowing editable GenericRelations in ModelForms. Editable GenericRelations aren't officially supported, but if we don't fix this we don't offer any upgrade path for those who used the ability to set editable=True in GenericRelation subclass. Thanks to Trac alias joshcartme for the report and stephencmd and Loic for working on this issue. Backpatch of 0e079e4331a8be4dbd18d5e5776116330b0a5e61 from master.
2013-11-15[1.6.x] Updated humanize translation catalogClaude Paroz
Refs #21415
2013-11-15[1.6.x] Fixed #21415 -- Replaced escape sequence by literal non-breaking spaceglts
Unfortunately, escape sequences (\x.. or \u....) do not fit well with the gettext toolchain. Falling back to using literal char, even if visibility is not ideal. Backport of 7e0ebd74c from master.