summaryrefslogtreecommitdiff
path: root/docs/releases
AgeCommit message (Collapse)Author
2013-05-19Fixed #16330 -- added --pks option in dumpdata commandPreston Holmes
Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly.
2013-05-19Fix #20447: URL names given to contrib.auth.views are now resolved.Baptiste Mispelon
This commit also adds tests for the redirect feature of most auth views. It also cleans up the tests, most notably using @override_settings instead of ad-hoc setUp/tearDown methods. Thanks to caumons for the report. Conflicts: docs/releases/1.6.txt
2013-05-19Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middlewareŁukasz Langa
2013-05-19Fixed #12747 -- Made reason phrases customizable.Aymeric Augustin
2013-05-18Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.Ramiro Morales
Thanks zalew for the suggestion and work on a patch. Also updated, tweaked and fixed testing documentation.
2013-05-18Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecatedŁukasz Langa
2013-05-18Merge branch 'allow-any-iterable-for-choices'Donald Stufft
2013-05-18Fixed #20430 - Enable iterable of iterables for model choicesDonald Stufft
Allows for any iterable, not just lists or tuples, to be used as the inner item for a list of choices in a model.
2013-05-18Fixed #13285: populate_xheaders breaks cachingŁukasz Langa
2013-05-18Fixed #9595 -- Allow non-expiring cache timeouts.Jacob Burch
Also, streamline the use of 0 and None between cache backends.
2013-05-18Fixed #13546 -- Easier handling of localize field options in ModelFormErik Romijn
2013-05-17Fixed #5472 --Added OpenLayers-based widgets in contrib.gisClaude Paroz
Largely inspired from django-floppyforms. Designed to not depend on OpenLayers at code level.
2013-05-14Fixed #19934 - Use of Pillow is now preferred over PIL.Daniel Lindsley
This starts the deprecation period for PIL (support to end in 1.8).
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant
added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09Fixed #20215 -- Disabled persistent connections by default.Aymeric Augustin
2013-04-29Corrected "it's" to "its" when used possessively.Thomas Thurman
Fixed #20327.
2013-04-20Adapted uses of versionchanged/versionadded to the new form.Juan Catalano
Refs #20104.
2013-04-18Complemented documentation following commit be9ae693cClaude Paroz
Refs #17840. Thanks Carl Meyer for noticing the omission.
2013-04-12Fixed #20211: Document backwards-incompatible change in BoundField.label_tagBaptiste Mispelon
Also cleaned up label escaping and consolidated the test suite regarding label_tag.
2013-04-05Added release note about percent literals in cursor.executeClaude Paroz
Thanks Aymeric Augustin for noticing the omission and Tim Graham for the text review. Fixes #9055 (again).
2013-04-02Added a dedication to Malcolm to release notes.Ramiro Morales
2013-03-29Fixed #19897 - Updated static files howto.Tim Graham
Thanks Jan Murre, Reinout van Rees and Wim Feijen, plus Remco Wendt for reviewing.
2013-03-28Added 1.5.1 release notes.Jacob Kaplan-Moss
2013-03-26Fixed #20138 -- Added BCryptSHA256PasswordHasherDonald Stufft
BCryptSHA256PasswordHasher pre-hashes the users password using SHA256 to prevent the 72 byte truncation inherient in the BCrypt algorithm.
2013-03-24Fixed #20124 - Fixed doc warnings.Tim Graham
2013-03-24Added changes missing from previous commit.Aymeric Augustin
Sorry.
2013-03-24Fixed #15124 -- Changed the default for BooleanField.Aymeric Augustin
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
2013-03-24Added release notes for 4b31a6a9.Aymeric Augustin
Thanks Florian for reporting this omission.
2013-03-22Added missing markup to docs.Tim Graham
2013-03-21Fixed #20084 -- Provided option to validate formset max_num on server.Andrew Gorcester
This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
2013-03-20Fixed #18839 - Field.__init__() now calls super().Carny Cheng
2013-03-19Fixed #16319 -- added SuccessMessageMixin to contrib.messagesPaul Collins
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-18Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.Aymeric Augustin
2013-03-18Fixed #19968 -- Dropped support for PostgreSQL < 8.4.Aymeric Augustin
2013-03-18Fixed #17037 -- Added a --all option to diffsettings.Aymeric Augustin
2013-03-17Fixed #19697 -- Added a deployment checklist.Aymeric Augustin
2013-03-17Added structure in the 1.6 release notes.Aymeric Augustin
The backwards-incompatible changes section wasn't structured in sections like it is in release notes for previous versions.
2013-03-15Corrected typos in the 1.6 release notesMarc Tamlyn
2013-03-14Deprecated django.views.defaults.shortcut.Aymeric Augustin
2013-03-14Fixed #16649 -- Refactored save_base logicAnssi Kääriäinen
Model.save() will use UPDATE - if not updated - INSERT instead of SELECT - if found UPDATE else INSERT. This should save a query when updating, but will cost a little when inserting model with PK set. Also fixed #17341 -- made sure .save() commits transactions only after the whole model has been saved. This wasn't the case in model inheritance situations. The save_base implementation was refactored into multiple methods. A typical chain for inherited save is: save_base() _save_parents(self) for each parent: _save_parents(parent) _save_table(parent) _save_table(self)
2013-03-13Proof-read and adjusted the transactions docs.Aymeric Augustin
2013-03-11Deprecated django.contrib.comments.Jacob Kaplan-Moss
2013-03-11Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED.Aymeric Augustin
Replaced them with per-database options, for proper multi-db support. Also toned down the recommendation to tie transactions to HTTP requests. Thanks Jeremy for sharing his experience.
2013-03-11Added some assertions to enforce the atomicity of atomic.Aymeric Augustin
2013-03-11Enabled database-level autocommit for all backends.Aymeric Augustin
This is mostly a documentation change. It has the same backwards-incompatibility consequences as those described for PostgreSQL in a previous commit.
2013-03-11Moved a warning in the 1.6 notes back to its expected location.Aymeric Augustin
2013-03-09Fixed #9806 -- Allowed editing GeometryField with OpenLayersWidgetClaude Paroz
Thanks Paul Winkler for the initial patch.
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.