Baptiste Mispelon
6bf05c0267
[1.6.x] Always use parentheses when documenting a method with no arguments.
...
Backport of 05d36dc06e
from master.
2014-01-22 23:00:06 +01:00
Baptiste Mispelon
6bca149af5
[1.6.x] Don't show `self` in the list of arguments of a method.
...
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855 .
Backport of 79e1d6ebd7
from master.
2014-01-22 22:59:55 +01:00
Tim Graham
2206321ff9
[1.6.x] Fixed a sentence in the session security docs; thanks claudep.
...
Backport of 4d27d311f6
from master
2014-01-03 12:04:18 -05:00
Tim Graham
2d554d29f2
[1.6.x] Fixed #21708 -- Added some headings to separate unrelated topics.
...
Thanks ashley at ashleymills.com for the suggestion.
Backport of 270f7e2167
from master
2013-12-30 17:57:44 -05:00
Tim Graham
f3a9a76123
[1.6.x] Fixed #21582 -- Corrected URL namespace example.
...
Thanks oubiga for the report.
Backport of 025ec2e7fe
from master
2013-12-26 20:06:29 -05:00
johannes-gehrs
eb4079597d
[1.6.x] Fixed #21580 -- Clarified why render() does not return a TemplateResponse object.
...
Backport of f685f94c98
from master
2013-12-13 18:59:27 -05:00
Tim Graham
3f8583a2c8
[1.6.x] Added a warning regarding risks in serving user uploaded media.
...
Thanks Preston Holmes for the draft text.
Backport of df6760f12c
from master
2013-12-02 13:49:47 -05:00
Baptiste Mispelon
20e322f4bf
[1.6.x] Added more examples to the get_object_or_404 documentation.
...
Backport of ebfa508fa3
from master.
2013-11-19 19:56:06 +01:00
Tim Graham
44469af34b
[1.6.x] Fixed typo in topics/http/sessions.txt.
...
Backport of 9348fc5628
from master
2013-11-18 19:11:33 -05:00
Tim Graham
e8dea1f35c
[1.6.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt
...
Thanks alasdair.
Backport of d011714002
from master
2013-11-15 10:22:51 -05:00
Tim Graham
f2b5e9d5bb
[1.6.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt
...
Thanks olof.bjarnason at gmail.com for the report.
Backport of 6e9e6ca071
from master
2013-11-15 07:10:47 -05:00
Tim Graham
5bb975a139
[1.6.x] Added a warning regarding session security and subdomains.
...
Backport of a3372f67cb
from master
2013-10-18 09:44:29 -04:00
Bouke Haarsma
e3c8db61f3
[1.6.x] Fixed #21264 -- Incorrect RST usage in docs
...
Backport of 8fc63087f6
from master
2013-10-14 08:15:50 -04:00
Tim Graham
9b89fcc0b0
[1.6.x] Clarified session replay attack differences with cookie backend.
...
Backport of 00a0d3de02
from master
2013-10-02 10:15:36 -04:00
Tim Graham
d30d66b907
[1.6.x] Fixed #21137 -- Corrected ULRconf include example.
...
Thanks marfire for the report.
Backport of 77f6b468e5
from master
2013-09-24 09:41:39 -04:00
Ramiro Morales
b2876c0c91
[1.6.x] A few doc additions for changes from d228c1192e
.
...
ce0c5c38ea
from master.
2013-09-22 13:54:54 -03:00
Michael DiBernardo
bb8a087949
[1.6.x] Fixed #21137 -- Documented best practice for URLconfs with repeated pattern prefixes.
...
Backport of 222460a994
from master
2013-09-21 18:18:16 -04:00
Markus Amalthea Magnuson
9888bb28ee
[1.6.x] Added missing "in" in sentence.
...
Backport of 2c5c422d34
from master
2013-09-19 13:29:48 -04:00
Tim Graham
c0fb6bdde3
[1.6.x] Fixed #21002 -- Documented JSON session serialization requires string keys
...
Thanks jeroen.pulles at redslider.net for the report.
Backport of 3baf1d1042
from master
2013-09-03 07:49:59 -04:00
Tim Graham
5f061986b9
[1.6.x] Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
...
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
Backport of b0ce6fe656
from master
2013-08-22 17:55:01 -04:00
Tim Graham
06f484dcf9
[1.6.x] Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
...
Thanks Keryn Knight.
Backport of 26c4bd38ac
from master
2013-08-05 08:16:56 -04:00
Alasdair Nicol
ccef8b2aa2
[1.6.x] Added missing request argument to example in URL dispatcher docs
...
Backport of a0c58113b9
from master
2013-08-03 19:36:15 -04:00
Tim Graham
3493f18d78
[1.6.x] Fixed #20667 - Removed discussion of DEBUG from tutorial.
...
Backport of 0d642aac86 from master.
2013-06-30 14:56:10 -04:00
Tim Graham
e161e4ff11
Clarified get_list_or_404 docs, refs #14150 .
2013-06-24 07:00:53 -04:00
Simon Meers
6466a0837b
Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
2013-06-24 13:59:03 +10:00
Preston Holmes
d228c1192e
Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.
...
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.
Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
2013-05-25 16:27:34 -07:00
Aymeric Augustin
753edfa4b5
Fixed a rest mistake I introduced in d5ce2ff
.
2013-05-19 12:14:44 +02:00
Marc Tamlyn
d9c01da1f8
Improve cookie based session backend docs.
...
Note the don't require sessions to be in installed apps.
2013-05-19 11:24:35 +02:00
Silvan Spross
cd72c55d86
Add missing imports and models to the examples in the view layer documentation
2013-05-18 18:39:11 +02:00
Erik Romijn
d5ce2ff5e4
Fixed #20444 -- Cookie-based sessions does not include a remote code execution-warning
2013-05-18 16:53:13 +02:00
Juan Catalano
78c842a323
Adapted uses of versionchanged/versionadded to the new form.
...
Refs #20104 .
2013-04-20 17:18:35 +02:00
Tim Graham
c852d45681
Fixed #20204 - Consistent usage of url() in URL dispatcher documentation
...
Thanks Baptiste Mispelon for the patch and dave.lampton@ for the suggestion.
2013-04-10 20:38:25 -04:00
Baptiste Mispelon
2c27300f34
Fix #20195 : wrong reference in session settings documentation.
2013-04-04 18:12:12 +02:00
Tim Graham
93cffc3b37
Added missing markup to docs.
2013-03-22 13:50:07 -04:00
Aymeric Augustin
3f2befc931
Deprecated django.views.defaults.shortcut.
2013-03-14 20:30:23 +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
Aymeric Augustin
89cb771be7
Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
...
Thanks Tim for the report and initial patch.
2013-01-31 13:54:40 +01:00
Tim Graham
43f89e0ad6
Fixed #19605 - Removed unused url imports from doc examples.
...
Thanks sergzach for the suggestion.
2013-01-15 07:50:26 -05:00
Tim Graham
ba50d3e05b
Fixed #14633 - Organized settings reference docs and added a topical index.
...
Thanks Gabriel Hurley for the original idea
and adamv for the draft patch.
2013-01-12 18:44:53 -05:00
Vinod Kurup
5362134090
Fixed code examples in which render() calls were missing `request` parameter.
2013-01-11 15:52:47 -03:00
Tim Graham
9b5f64cc6e
Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Aymeric Augustin
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00
Aymeric Augustin
dbdd253860
Replaced the test case hierarchy schema with a vector version.
...
The OmniGraffle source file is included for future use.
2012-12-16 21:07:12 +01:00
Aymeric Augustin
bf14aed3cc
Added PDF version of SVG file for latexpdf builds.
...
Thanks Tim Graham for reporting this issue and testing the fix.
2012-12-16 19:42:53 +01:00
Aymeric Augustin
be9f2919e0
Edited the middleware doc for completeness, clarity, and consistency.
2012-12-09 22:30:01 +01:00
Aymeric Augustin
ae8e97384b
Fixed #12502 -- Improved middleware diagram.
2012-12-09 21:13:26 +01:00
Tim Graham
0e3690d230
Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
2012-11-22 16:08:51 -05:00
Markus Zapke-Gründemann
0546794397
Fixed #19230 -- Extended the handler403 documentation.
...
Added a paragraph on how to use the PermissionDenied exception to create a 403
response and use handler403.
2012-11-03 17:18:47 +01:00
Aymeric Augustin
f975c4857d
Fixed #19225 -- Typo in shortcuts docs.
...
Thanks SunPowered for the report.
2012-11-02 09:29:55 +01:00