summaryrefslogtreecommitdiff
path: root/docs/releases
AgeCommit message (Collapse)Author
2013-12-07Fixed #21568 -- Added missing ModelMultipleChoiceField to_python methodClaude Paroz
Thanks dibrovsd at gmail.com for the report and Simon Charette for the review.
2013-12-07Added fix for #21530 to 1.6.1 release notes.Baptiste Mispelon
2013-12-04List 1.6.x releases in descending orderAlasdair Nicol
2013-12-02Fixed #13476 -- Added support for color in console output under Windows.Ramiro Morales
Detect and use the services of the ANSICON third-party tool if it's available.
2013-11-30Fixed #21535 -- Fixed password hash iteration upgrade.Tim Graham
Thanks jared_mess for the report.
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-30Enabled makemessages to support several translation directoriesClaude Paroz
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
2013-11-30Fixed #20867 -- Added the Form.add_error() method.Loic Bistuer
Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
2013-11-29Fixed #21380 -- Added a way to set different permission for static directories.Vajrasky Kok
Previously when collecting static files, the directories would receive permissions from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS and there's an option to specify the permissions by subclassing any of the static files storage classes and setting the directory_permissions_mode parameter.
2013-11-28Fixed #21496 -- Fixed crash when GeometryField uses TextInputClaude Paroz
Thanks Rhett Garber for the report and initial patch.
2013-11-28Fixed typo in release notes.Loic Bistuer
2013-11-27Added a bulk option to RelatedManager remove() and clear() methodsLoic Bistuer
Refs #21169
2013-11-27Fixed #21169 -- Reworked RelatedManager methods use default filteringLoic Bistuer
The `remove()` and `clear()` methods of the related managers created by `ForeignKey`, `GenericForeignKey`, and `ManyToManyField` suffered from a number of issues. Some operations ran multiple data modifying queries without wrapping them in a transaction, and some operations didn't respect default filtering when it was present (i.e. when the default manager on the related model implemented a custom `get_queryset()`). Fixing the issues introduced some backward incompatible changes: - The implementation of `remove()` for `ForeignKey` related managers changed from a series of `Model.save()` calls to a single `QuerySet.update()` call. The change means that `pre_save` and `post_save` signals aren't called anymore. - The `remove()` and `clear()` methods for `GenericForeignKey` related managers now perform bulk delete so `Model.delete()` isn't called anymore. - The `remove()` and `clear()` methods for `ManyToManyField` related managers perform nested queries when filtering is involved, which may or may not be an issue depending on the database and the data itself. Refs. #3871, #21174. Thanks Anssi Kääriäinen and Tim Graham for the reviews.
2013-11-26Fixed #21448 -- Fixed test client logout with cookie-based sessionsClaude Paroz
Thanks Gunnar Scherf for the report and the suggested patch.
2013-11-24Fixed #21391 -- Allow model signals to lazily reference their senders.Simon Charette
2013-11-23Fixed #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.
2013-11-23Fixed #21200 -- Consistantly raise errors across all cache backends.Florian Apolloner
Thanks to tchaumeny for the patch.
2013-11-23Fixed #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. 8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
2013-11-23Fixed #21012 -- New API to access cache backends.Curtis Maloney
Thanks Curtis Malony and Florian Apolloner. Squashed commit of the following: commit 3380495e93f5e81b80a251b03ddb0a80b17685f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:18:07 2013 +0100 Looked up the template_fragments cache at runtime. commit 905a74f52b24a198f802520ff06290a94dedc687 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 14:19:48 2013 +0100 Removed all uses of create_cache. Refactored the cache tests significantly. Made it safe to override the CACHES setting. commit 35e289fe9285feffed3c60657af9279a6a2cfccc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:23:57 2013 +0100 Removed create_cache function. commit 8e274f747a1f1c0c0e6c37873e29067f7fa022e8 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Nov 23 12:04:52 2013 +0100 Updated docs to describe a simplified cache backend API. commit ee7eb0f73e6d4699edcf5d357dce715224525cf6 Author: Curtis Maloney <curtis@tinbrain.net> Date: Sat Oct 19 09:49:24 2013 +1100 Fixed #21012 -- Thread-local caches, like databases.
2013-11-21Fixed #21405 -- Prevented queryset overwrite in BaseModelAdminClaude Paroz
Thanks guido@20tab.com for the report and Tim Graham for the analyze.
2013-11-20Fixed #21472 -- Fixed inline formsets display when parent pk is 0Claude Paroz
Thanks agale031176@gmail.com for the report.
2013-11-19Fixed #15179 -- middlewares not applied for test client login()Unai Zalakain
Requests made with django.test.Client.login() and logout() respect defaults defined in django.test.Client instantiation and are processed through middleware. Thanks to Loic for the reviews.
2013-11-18Fixed #21457 -- Allowed fixture file name to contain dotsClaude Paroz
Thanks Keryn Knight for the report.
2013-11-18Fixed #21397 -- Re-added flexibility to TypedChoiceField coercionClaude Paroz
Thanks Elec for the report and Simon Charette for the review.
2013-11-18Added release note for TypedChoiceField coerce limitationClaude Paroz
Thanks Elec for the report and Simon Charette for the review. Refs #21397.
2013-11-18Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.Tim Graham
Thanks marcin at sokrates.pl.
2013-11-18Fixed #21404 -- Added session.set_expiry() note to 1.6 release notes.Tim Graham
Thanks pwr for the suggestion.
2013-11-17Updated 1.6.1 release notesClaude Paroz
Partial forward port of e85baa813f.
2013-11-16Fixed #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.
2013-11-14Added backported fixes to 1.6.1 release notes.Baptiste Mispelon
2013-11-14Release notes for ORM changes in 1.6Anssi Kääriäinen
2013-11-13Added release note for #21410; thanks Loic.Tim Graham
2013-11-11Merge pull request #1907 from Bouke/tickets/21388Claude Paroz
Fixed #21388 -- Corrected language code for Frisian
2013-11-11Fixed #21421 -- Added level_tag attribute on messages.Sjoerd Langkemper
Exposing the level name (e.g. "info") makes it possible to prepend something to the class name. For example, Twitter Bootstrap has an alert-info class. This class can now be added to the message using `class="alert-{{ message.level_tag }}". Because the level_tag was on the end of the `tags` property, it could not be used in this fashion when extra_tags were given.
2013-11-11Fixed #21388 -- Corrected language code for FrisianBouke Haarsma
2013-11-11Fixed #21351 -- Replaced memoize with Python's lru_cache.Bouke Haarsma
Replaced the custom, untested memoize with a similar decorator from Python's 3.2 stdlib. Although some minor performance degradation (see ticket), it is expected that in the long run lru_cache will outperform memoize once it is implemented in C. Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of replacing memoize with lru_cache.
2013-11-09Fixed #14800 -- Suppressed WSGIRequestHandler message filteringClaude Paroz
Filtering out static file requests in runserver has been judged arbitrary and can hide some debugging-related activity. Thanks Roy Smith for the report and Aymeric Augustin for the review.
2013-11-09Fixed spelling of compatibility.Tim Graham
2013-11-09Fixed #21398 -- Fixed BCryptSHA256PasswordHasher with py-bcrypt and Python 3.Tim Graham
Thanks arjan at anymore.nl for the report.
2013-11-08Fixed #13970 -- Made SelectDateWidget use the standard widget is_required ↵Claude Paroz
attribute Thanks mitar for the report and Tim Graham for the review.
2013-11-08Fixed #21396: Document backwards-incompatible change in ↵Baptiste Mispelon
RedirectView.get_redirect_url. Thanks to Tim for the review.
2013-11-08Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma
Add the trimmed option to the blocktrans tag to trim any newlines and whitespace from its content. This allows the developer to indent the blocktrans tag without adding new lines and whitespace to the msgid in the PO file. Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the report.
2013-11-07Merge pull request #1850 from unaizalakain/ticket_13725Anssi Kääriäinen
Fixed #13725 -- take url scheme into account in assertRedirects Thanks to Loic for review.
2013-11-07Fixed #13725 -- take url scheme into account in assertRedirectsUnai Zalakain
Scheme is handled correctly when making comparisons between two URLs. If there isn't any scheme specified in the location where we are redirected to, the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparations to.
2013-11-07Added 1.4.10 release notes.Tim Graham
2013-11-07Fixed #17001 -- Custom querysets for prefetch_related.Loic Bistuer
This patch introduces the Prefetch object which allows customizing prefetch operations. This enables things like filtering prefetched relations, calling select_related from a prefetched relation, or prefetching the same relation multiple times with different querysets. When a Prefetch instance specifies a to_attr argument, the result is stored in a list rather than a QuerySet. This has the fortunate consequence of being significantly faster. The preformance improvement is due to the fact that we save the costly creation of a QuerySet instance. Thanks @akaariai for the original patch and @bmispelon and @timgraham for the reviews.
2013-11-071.6 isn't under development any more.Aymeric Augustin
Partial forward port of a71ff76 from stable/1.6.x.
2013-11-05Improved English in release notes for runserver.Aymeric Augustin
Thanks Tim.
2013-11-05Fixed #18419 -- Full backwards compatibility for old language codesBouke Haarsma
Improved documentation about zh-* deprecation and upgrade path. Thanks to Baptiste Mispelon for the code reviews.
2013-11-04Improved changelog for runserver in 1.7.Aymeric Augustin