summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2013-04-22Fixed #20270 -- Fixed error in AjaxResponseMixin documentationBaptiste Mispelon
2013-04-20Adapted uses of versionchanged/versionadded to the new form.Juan Catalano
Refs #20104.
2013-04-19Explained the pattern for special methods compatibility.Aymeric Augustin
2013-04-18Fixed #20285 - Added missing commas in translation docs.Tim Graham
Thanks cody.j.b.scott@
2013-04-16Fixed #20266 -- Updated view example in CBV introductionClaude Paroz
Thanks jim at hellolocals.com for the report.
2013-04-15Fixed #20263 -- Corrected wording in the formset documentation.Simon Charette
Thanks to feraudyh at yahoo.com for the report.
2013-04-10Fixed #20204 - Consistent usage of url() in URL dispatcher documentationTim Graham
Thanks Baptiste Mispelon for the patch and dave.lampton@ for the suggestion.
2013-04-04Fix #20195: wrong reference in session settings documentation.Baptiste Mispelon
2013-03-31Fixed #8649 - Documented a caveat about dynamically adjusting formsets.Tim Graham
2013-03-31Fixed #20168 - Generalized a PostgreSQL specific database query in the docs.Tim Graham
Thanks Russ for the suggestion.
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-30Fixed #20150 -- Fixed an error in manager doc exampleNimesh Ghelani
2013-03-29Fixed #20159 -- Mispelled attribute in multi-db documentation example.Simon Charette
Thanks to sane4ka.sh at gmail for the report!
2013-03-26Fix a missing " character in the password documentationDonald Stufft
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-25Fixed docs reST warning.Ramiro Morales
2013-03-24Added release notes for 4b31a6a9.Aymeric Augustin
Thanks Florian for reporting this omission.
2013-03-23Fixed #20119 -- Fixed typo in auth docsClaude Paroz
Thanks vinyll for the report.
2013-03-23Fixed #9055 -- Standardized behaviour of parameter escaping in db cursorsClaude Paroz
Previously, depending on the database backend or the cursor type, you'd need to double the percent signs in the query before passing it to cursor.execute. Now cursor.execute consistently need percent doubling whenever params argument is not None (placeholder substitution will happen). Thanks Thomas Güttler for the report and Walter Doekes for his work on the patch.
2013-03-22Added missing markup to docs.Tim Graham
2013-03-22Fixed #17935 - Clarified intro of topics/files.txt.Tim Graham
Thanks guettli for the suggestion.
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 #20096 -- Added link to the Greek localflavor appClaude Paroz
2013-03-18Fixed #19968 -- Dropped support for PostgreSQL < 8.4.Aymeric Augustin
2013-03-17Minor docs fix for e11ccc76.Aymeric Augustin
2013-03-17Updated bundled version of six.Aymeric Augustin
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-14Deprecated django.views.defaults.shortcut.Aymeric Augustin
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-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-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-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-07Fixed #19997 -- Added custom EMPTY_VALUES to form fieldsClaude Paroz
Thanks Loic Bistuer for the report and the patch.
2013-03-06Update link to django-mssql projectMichael Manfre
2013-03-03Fix Typo explicitly. Fixes #19971Tobias Carlander
2013-03-03Removed unnecessary imports.Aymeric Augustin
2013-03-02Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and ↵Tim Graham
browsers that persist sessions. Thanks David Sanders.