Martin Brochhaus
6f229d2d7a
Update docs/topics/class-based-views/index.txt
...
Fixed a small typo:
"We can use create" should be "We can create"
2012-08-02 19:29:19 +08:00
Simon Meers
d7816c563b
Fixed #18472 - Added warning regarding set_language / i18n_patterns.
2012-08-02 20:45:55 +10:00
Tim Graham
ebbc414d17
Fixed #16168 - Added note regarding type requirements when overridng ModelForm fields.
...
Thanks Pieter Swinkels for the patch.
2012-08-01 07:59:28 -04:00
Tim Graham
964979e8ec
Fixed #18122 - Clarified section title regarding applying permissions to generic views.
2012-07-31 16:13:52 -04:00
Tim Graham
8d3e501502
Fixed #17131 - Added per object permission notes to docs.
...
Thanks dchandek for the suggestion and mateusgondim for the patch.
2012-07-30 18:10:21 -04:00
Aymeric Augustin
ab6cd1c839
[py3] Updated dict-like data structures for Python 3.
...
The keys/items/values methods return iterators in Python 3, and the
iterkeys/items/values methods don't exist in Python 3. The behavior
under Python 2 is unchanged.
2012-07-25 22:58:48 +02:00
Florian Apolloner
7d06f975fe
Fixed #18614 -- Added missing imports in code samples.
2012-07-25 22:32:53 +02:00
Florian Apolloner
4865274bc1
Merge pull request #224 from reclosedev/patch-1
...
Documentation: Fix link to uWSGI deployment
2012-07-25 13:18:11 -07:00
Alex Gaynor
98c7ad444c
Merge pull request #228 from nklas/master
...
Documentation: Fixed a typo in docs/releases/1.4.txt
2012-07-25 13:06:58 -07:00
nklas
c7ac44e64b
Update docs/topics/signals.txt
...
Fixed a typo.
2012-07-25 13:20:26 +07:00
Ramiro Morales
50837434db
Clarified default name of M2M relationship DB table.
2012-07-24 22:44:28 -03:00
Ramiro Morales
f758bdab5e
Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables.
...
Previously, the flush was done before the test case execution and now
it is performed after it.
Other changes to the testing infrastructure include:
* TransactionTestCase now doesn't reset autoincrement sequences either
(previous behavior can achieved by using `reset_sequences`.)
With this, no implicit such reset is performed by any of the provided
TestCase classes.
* New ordering of test cases: All unittest tes cases are run first and
doctests are run at the end.
THse changes could be backward-incompatible with test cases that relied
on some kind of state being preserved between tests. Please read the
relevant sections of the release notes and testing documentation for
further details.
Thanks Andreas Pelme for the initial patch. Karen Tracey and Anssi
Kääriäinen for the feedback and Anssi for reviewing.
This also fixes #12408 .
2012-07-24 17:24:16 -03:00
Aymeric Augustin
ebc89a800a
Fixed a broken link in the Python 3 docs.
...
Thanks ptone for the report.
2012-07-22 19:48:10 +02:00
Roman Haritonov
cc65f4ec8d
Documentation: Fix link to uWSGI deployment
2012-07-22 18:54:47 +04:00
Aymeric Augustin
00ace01411
[py3] Documented coding guidelines for Python 3.
2012-07-22 10:29:07 +02:00
Aymeric Augustin
8b01909841
[py3] Bundled six for Python 3 compatibility.
...
Refs #18363 .
2012-07-22 09:29:44 +02:00
Anssi Kääriäinen
aeda55e6bf
Fixed #3881 -- skip saving session when response status is 500
...
Saving session data is somewhat likely to lead into error when the
status code is 500. It is guaranteed to lead into error if the reason
for the 500 code is query error on PostgreSQL.
2012-07-16 20:57:55 +03:00
Aymeric Augustin
fb46f243b4
Fixed #18625 -- Removed old-style use of url tag
...
from the documentation.
2012-07-15 11:19:50 +02:00
Aymeric Augustin
c13a98968e
Fixed a misplaced Sphinx reference.
2012-07-14 12:32:39 +02:00
Preston Holmes
18b9dc4154
Fixed #18601 -- Specified that Python minimum version is 2.6.5
...
This is due to a bug in previous Python 2.6 versions related to
unicode keyword arguments.
2012-07-13 17:33:13 +02:00
Adrian Holovaty
c9a1f9d1fc
Merge pull request #197 from StefanKjartansson/master
...
Fixed typo in docs
2012-07-11 15:05:48 -07:00
mitnk
fe443b11de
fixed a typo in timezones docs.
2012-07-11 10:57:26 +08:00
Stefan Kjartansson
5664338e22
typo in "django/docs/topics/python3.txt"
2012-07-10 15:27:50 +00:00
Tim Graham
590de18add
Fixed #18577 - Clarified middleware initialization.
...
Thanks Lukasz Balcerzak for the patch.
2012-07-08 19:26:53 -04:00
Aymeric Augustin
d94cfdcfae
Fixed #18589 -- Typo in generic CBV docs.
...
Thanks cpthomas for the report.
2012-07-07 17:42:04 +02:00
Tim Graham
5d81ad1af1
Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias.
...
Thanks codeinthehole for the draft patch.
2012-06-30 10:25:51 -04:00
Claude Paroz
8a5d1a6b93
Updated obsolete links in the documentation
2012-06-28 10:49:07 +02:00
Tim Graham
1cf8287e3a
Fixed #18369 - Fixed argument name in render() function; thanks qsolo825@ for the report.
2012-06-27 17:40:29 -04:00
Claude Paroz
ada961b0d2
Fixed #18527 -- Removed superfluous backslash in CBV docs
...
Thanks ramilzay at gmail.com for the report.
2012-06-27 18:13:14 +02:00
Gabriel Grant
d69f1d71c4
Fixed typo in JSONResponseMixin example.
2012-06-25 08:48:32 +02:00
Claude Paroz
19a810b18c
Fixed #14917 -- Hinted that view should redirect after form post success
2012-06-23 18:47:52 +02:00
Dmitry Medvinsky
d4da08375b
Fixed #18454 -- Added ability to pass a list of signals to `receiver`.
...
Added ability to use receiver decorator in the following way:
@receiver([post_save, post_delete], sender=MyModel)
def signals_receiver(sender, **kwargs):
...
2012-06-23 16:31:16 +02:00
Bojan Mihelac
946d3d9f84
Fixed url translation docs.
...
``include`` calls shouldn't have a $ sign at the end of the url pattern.
2012-06-23 16:14:56 +02:00
Gabe Jackson
ffa6d95f65
Fixed #18154 -- Documentation on closing File objects and best practices
2012-06-19 09:56:10 +12:00
Jannis Leidel
c4c7fbcc0d
Fixed #18451 -- Vastly improved class based view documentation.
...
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-11 10:40:23 +02:00
Claude Paroz
b0d8085c67
Added note about including fixtures hashing algorithm
...
Refs #18157 .
2012-06-09 21:14:13 +02:00
Claude Paroz
17d6cd9029
Fixed #18157 -- Documented that setting PASSWORD_HASHERS can speed up tests
2012-06-09 20:41:46 +02:00
Claude Paroz
514e827022
Fixed pagination example wrt new next_page_number behavior
2012-06-09 18:07:30 +02:00
Claude Paroz
fc40a6504b
Fixed #17159 -- Validated returned number of next|previous_page_number
...
Thanks mehta.apurva at gmail.com for the report and the initial patch
and neaf for the complete patch.
2012-06-09 17:55:24 +02:00
Audrey Roy
7ab6e32843
Revised the text in the 'Processing the data from a form' section.
2012-06-08 12:13:52 +02:00
Audrey Roy
3c05b500a5
Revised the text in the 'Using a form in a view' section.
2012-06-08 12:03:52 +02:00
Aymeric Augustin
06ea10e1f1
Fixed #18125 -- Explained caveat with filters
...
Thanks ebrelsford AT gmail.com and oinopion.
2012-06-08 10:25:42 +02:00
Aymeric Augustin
33999d9871
Fixed #18445 -- Added a links in the docs.
...
Thanks Audrey Roy for the patch.
2012-06-07 22:11:24 +02:00
Claude Paroz
5e6ded2e58
Fixed #18363 -- Added Python 3 compatibility layer.
...
Thanks Vinay Sajip for the support of his django3 branch
and Alex Gaynor, kezabelle, YorikSar for the review.
2012-06-07 18:36:53 +02:00
Claude Paroz
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
...
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
2012-06-07 18:08:47 +02:00
Aymeric Augustin
c28e700c7e
Removed references to changes made in 1.2.
...
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Aymeric Augustin
10a9c260fc
Merge pull request #117 from juanriaza/master
...
Fixed #18380 -- Improved installation instructions for MySQLdb.
2012-06-07 04:40:38 -07:00
Juan Riaza
bac6a68064
Fixed #18380 -- Improve installation instructions for MySQLdb
2012-06-07 13:35:04 +02:00
Aymeric Augustin
875c762517
Fixed #16916 -- Documented default headers for the test client.
...
Thanks sailorfred AT yahoo.com for the report and raulcd
for the initial version of the patch.
2012-06-07 12:51:48 +02:00
Aymeric Augustin
17f3e9258e
Fixed #18397 -- Avoided referencing lawrence.com.
...
This commit includes multiple small related changes, see the ticket
for a full discussion.
2012-06-07 11:50:20 +02:00