summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2013-03-17Two additions to the deployment checklist.Aymeric Augustin
Thanks Erik Romijn.
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-17Updated bundled version of six.Aymeric Augustin
2013-03-15Fix #20054: Removed links to modwsgi.org.Baptiste Mispelon
2013-03-15Fixed #20053 -- Fix `index_together` documentationJohan Charpentier
2013-03-15Merge pull request #901 from giamfreeg/masterAymeric Augustin
Fixed an erroneous import in example code of docs (class-based-views/intro).
2013-03-15Corrected typos in the 1.6 release notesMarc Tamlyn
2013-03-14Deprecated django.views.defaults.shortcut.Aymeric Augustin
2013-03-14Fixed #17051 -- Removed some 'invalid' field error messagesClaude Paroz
When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
2013-03-14Updated release instructions to account for website automation.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-13Fixed #20032 -- Documented how to simulate the absence of a settingClaude Paroz
Thanks Ram Rachum for the report.
2013-03-13Fixed an erroneous import in example code.Pablo Sanfilippo
2013-03-13Proof-read and adjusted the transactions docs.Aymeric Augustin
2013-03-13Made atomic usable when autocommit is off.Aymeric Augustin
Thanks Anssi for haggling until I implemented this. This change alleviates the need for atomic_if_autocommit. When autocommit is disabled for a database, atomic will simply create and release savepoints, and not commit anything. This honors the contract of not doing any transaction management. This change also makes the hack to allow using atomic within the legacy transaction management redundant. None of the above will work with SQLite, because of a flaw in the design of the sqlite3 library. This is a known limitation that cannot be lifted without unacceptable side effects eg. triggering arbitrary commits.
2013-03-12Fixed #19965 - Added a warning that the tutorial is written for Python 2.Tim Graham
Thanks itsallvoodoo for the patch.
2013-03-11Fixed broken link in binary fields doc.Ramiro Morales
2013-03-11Fixed #20026 -- Typo in Apache auth docs.Aymeric Augustin
2013-03-11Deprecated django.contrib.comments.Jacob Kaplan-Moss
2013-03-11Improved the API of set_autocommit.Aymeric Augustin
2013-03-11Used commit_on_success_unless_managed to make ORM operations atomic.Aymeric Augustin
2013-03-11Added an option to disable the creation of savepoints in atomic.Aymeric Augustin
2013-03-11Added a note about long-running processes.Aymeric Augustin
There isn't much else to say, really.
2013-03-11Added an explanation of transactions and grouped low-level APIs.Aymeric Augustin
2013-03-11Updated the documentation for savepoints.Aymeric Augustin
Apparently django.db.transaction used to be an object.
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-11Implemented an 'atomic' decorator and context manager.Aymeric Augustin
Currently it only works in autocommit mode. Based on @xact by Christophe Pettus.
2013-03-11Added support for savepoints in SQLite.Aymeric Augustin
Technically speaking they aren't usable yet.
2013-03-11Deprecated transaction.is_managed().Aymeric Augustin
It's synchronized with the autocommit flag.
2013-03-11Deprecated transaction.commit/rollback_unless_managed.Aymeric Augustin
Since "unless managed" now means "if database-level autocommit", committing or rolling back doesn't have any effect. Restored transactional integrity in a few places that relied on automatically-started transactions with a transitory API.
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-11Added an API to control database-level autocommit.Aymeric Augustin
2013-03-11Made transaction.managed a no-op and deprecated it.Aymeric Augustin
enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management.
2013-03-11Moved a warning in the 1.6 notes back to its expected location.Aymeric Augustin
2013-03-10Fixed #20018: Added backtick to fix referenceJonathan Loy
Fixed #20018
2013-03-10Fixed #20008 -- Removed trailing slash in Wikipedia linkClaude Paroz
Thanks senden9 at gmail.com for the report.
2013-03-09Fixed #9806 -- Allowed editing GeometryField with OpenLayersWidgetClaude Paroz
Thanks Paul Winkler for the initial patch.
2013-03-09Fixed #19923 -- Display tracebacks for non-CommandError exceptionsClaude Paroz
By default, show tracebacks for management command errors when the exception is not a CommandError. Thanks Jacob Radford for the report.
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-07Adde two "versionadded" markers, thanks to mYk for noticing.Alex Gaynor
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.
2013-03-07Fixed #19997 -- Added custom EMPTY_VALUES to form fieldsClaude Paroz
Thanks Loic Bistuer for the report and the patch.
2013-03-06Fixed #19543 -- implemented SimpleLazyObject.__repr__Preston Holmes
Thanks to Florian Hahn for the patch
2013-03-06Update link to django-mssql projectMichael Manfre
2013-03-06Fixed #19994 -- Typo.Aymeric Augustin
Thanks akshar for the report.
2013-03-03Removed mentions of regressiontests.Ramiro Morales
2013-03-03Release notes blurb for 804366327d728d23a9f7a25ff77a6eed3c9f9323.Ramiro Morales
2013-03-03Fix Typo explicitly. Fixes #19971Tobias Carlander