Aymeric Augustin
107d9b1d97
Added an option to disable the creation of savepoints in atomic.
2013-03-11 15:05:04 +01:00
Aymeric Augustin
189fb4e294
Added a note about long-running processes.
...
There isn't much else to say, really.
2013-03-11 15:05:04 +01:00
Aymeric Augustin
17cf29920b
Added an explanation of transactions and grouped low-level APIs.
2013-03-11 15:05:02 +01:00
Aymeric Augustin
ffe41591e7
Updated the documentation for savepoints.
...
Apparently django.db.transaction used to be an object.
2013-03-11 15:04:10 +01:00
Aymeric Augustin
ac37ed21b3
Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED.
...
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-11 15:04:05 +01:00
Aymeric Augustin
7c46c8d5f2
Added some assertions to enforce the atomicity of atomic.
2013-03-11 14:48:55 +01:00
Aymeric Augustin
d7bc4fbc94
Implemented an 'atomic' decorator and context manager.
...
Currently it only works in autocommit mode.
Based on @xact by Christophe Pettus.
2013-03-11 14:48:55 +01:00
Aymeric Augustin
4b31a6a9e6
Added support for savepoints in SQLite.
...
Technically speaking they aren't usable yet.
2013-03-11 14:48:55 +01:00
Aymeric Augustin
5e27debc5c
Enabled database-level autocommit for all backends.
...
This is mostly a documentation change.
It has the same backwards-incompatibility consequences as those
described for PostgreSQL in a previous commit.
2013-03-11 14:48:54 +01:00
Aymeric Augustin
f515619494
Added an API to control database-level autocommit.
2013-03-11 14:48:53 +01:00
Loic Bistuer
6983a1a540
Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet.
2013-03-08 10:11:45 -05:00
Claude Paroz
4cccb85e29
Fixed #19997 -- Added custom EMPTY_VALUES to form fields
...
Thanks Loic Bistuer for the report and the patch.
2013-03-07 15:22:03 +01:00
Michael Manfre
bb998c9fec
Update link to django-mssql project
2013-03-06 12:12:42 -05:00
Tobias Carlander
df7668a9e4
Fix Typo explicitly. Fixes #19971
2013-03-03 22:34:10 +04:00
Aymeric Augustin
97afc49bb0
Removed unnecessary imports.
2013-03-03 16:07:38 +01:00
Tim Graham
fe5d9fe5fe
Fixed #19962 - Added a note about SESSION_EXPIRE_AT_BROWSER_CLOSE and browsers that persist sessions.
...
Thanks David Sanders.
2013-03-02 10:11:23 -05:00
Tim Graham
d009ffe436
Fixed #19937 - Typo in class-based views intro.
2013-02-28 08:25:14 -05:00
Tim Graham
226a9fb2ea
Merge pull request #858 from intgr/py3kdoc-fix
...
Fixed a typo in Python 3 porting guide.
2013-02-27 13:16:55 -08:00
Claude Paroz
b0ba21db07
Fixed #19926 -- Fixed a link to code example in queries docs
...
Thanks Randy Salvo for the report.
2013-02-27 21:30:54 +01:00
Tim Graham
2108941677
Fixed #16807 - Added a class-based views intro.
...
Thanks Preston Holmes for the text.
2013-02-27 07:13:55 -05:00
Marti Raudsepp
fba6df19b5
[py3] str.decode does not exist; str.encode was intended
2013-02-26 23:28:47 +02:00
Tim Graham
9ce1b6191b
Fixed #19922 - Typo in translation docs.
...
Thanks amoebob for the report.
2013-02-26 15:12:28 -05:00
Aymeric Augustin
0836670c5c
Fixed #6195 -- Documented caching options for javascript_catalog.
2013-02-25 22:29:38 +01:00
Ben Konrath
d546259647
Fixed #19394 --Added note about auth forms and custom user models.
2013-02-24 07:55:38 -08:00
Zbigniew Siciarz
0a8402eb05
Test case and docs for custom context data in feeds
...
Thanks Paul Winkler for the initial patch. (Ref #18112 ).
2013-02-24 08:33:20 -06:00
Florian Apolloner
4506ae0497
Merge pull request #717 from slurms/ticket_19746
...
Fixed #19746 -- Allow deserialization of pk-less data
2013-02-24 06:31:14 -08:00
Tomek Paczkowski
99edbe0e27
Fixed #19253 -- Extracted template cache key building logic
...
Introduced a public function
django.core.cache.utils.make_template_fragment_key
Thanks @chrismedrela for fruitful cooperation.
2013-02-24 14:32:45 +01:00
Aymeric Augustin
b6aede3268
Merge pull request #815 from zerok/tickets/11971
...
Fixed #11971 -- Documented the serialization formats
2013-02-24 02:18:32 -08:00
Horst Gutmann
5612f54bd5
Added more details about the various serialization formats.
2013-02-24 10:58:03 +01:00
Tim Graham
cf890c110e
Added an example of "default" database dictionary left blank; refs #19775 .
...
Thanks wsmith323 for the patch.
2013-02-23 16:01:43 -05:00
Tim Graham
24a2bcbcdd
Fixed #19402 - Clarified purpose of CustomUser.REQUIRED_FIELDS
...
Thanks pydanny for the report and ptone for the patch.
2013-02-23 15:42:56 -05:00
Tim Graham
4c05fdb467
Fixed #19579 - Documented that "providing_args" is purely documentational.
2013-02-23 15:33:43 -05:00
Tim Graham
31bcb102b2
Fixed #19775 - Clarified requirements of the "default" database.
...
Thanks monkut for the report and wsmith323 for the patch.
2013-02-23 15:21:35 -05:00
Horst Gutmann
2f4a4703e1
Fixed #19758 -- Avoided leaking email existence through the password reset form.
2013-02-23 14:31:21 +01:00
Claude Paroz
7ec2a21be1
Fixed #19686 -- Added HTML5 number input type
...
Thanks Simon Charette for his help on the patch. Refs #16630 .
2013-02-23 10:18:08 +01:00
Preston Holmes
649118961c
Fixed #19868 -- Clarified purpose of custom user example
2013-02-20 15:32:35 -08:00
Tim Graham
bd006e00e4
Merge pull request #737 from hrbonz/docs_CBV_generic_views_typo
...
Fixed typo in docs/topics/class-based-views/generic-display.txt
2013-02-19 13:30:28 -08:00
Aymeric Augustin
35c991aa06
Added a default limit to the maximum number of forms in a formset.
...
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 11:23:30 -07:00
Carl Meyer
d51fb74360
Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
...
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 11:23:29 -07:00
Tim Graham
00031b73bd
Updated a couple admonitions to use the warning directive.
2013-02-19 11:31:41 -05:00
Stefan "hr" Berder
22d5e4b4af
Update docs/topics/class-based-views/generic-display.txt
...
simple typo in "Making friendly template contexts"
2013-02-19 16:01:06 +08:00
Tim Graham
64d0f89ab1
Fixed #19717 - Removed mentions of "root QuerySet" in docs.
...
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
2013-02-18 09:35:22 -05:00
Alex Hunley
976dc07baf
Removed a misleading examples from documentations ala ticket #19719
2013-02-16 14:30:55 -05:00
Russell Keith-Magee
91c26eadc9
Refs #14881 -- Document that User models need to have an integer primary key.
...
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.
2013-02-16 10:21:05 +08:00
Russell Keith-Magee
f5e4a699ca
Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
...
Thanks to Claude Peroz for the draft patch.
2013-02-15 09:00:55 +08:00
Claude Paroz
668d0b8d49
Fixed #19823 -- Fixed memcached code example in cache docs
2013-02-14 11:23:52 +01:00
Aymeric Augustin
c4841b3de4
Merge pull request #719 from JonLoy/ticket_19808
...
Fixed #19808 -- Typo in example
2013-02-12 06:24:22 -08:00
JonLoy
74003ca36b
Fixed #19808 Capitalization error in example text
2013-02-12 09:14:19 -05:00
Ramiro Morales
0560bfb705
Mention backward relationships in aggregate docs.
...
Thanks Anssi and Marc Tamlyn for reviewing.
Fixes #19803 .
2013-02-12 09:36:29 -03:00
Nick Sandford
278dad5b41
Fixed #19746 -- Allow deserialization of pk-less data
2013-02-12 17:10:42 +08:00