David Sanders
7a98442f96
Clarified 404.html usage, excplicitly stated that it's used when DEBUG is False
...
Thanks to Keryn Knight, Curtis Maloney and Tim Graham for their reviews.
2015-08-31 14:39:31 +10:00
Sergey Kolosov
22bb548900
Fixed #22634 -- Made the database-backed session backends more extensible.
...
Introduced an AbstractBaseSession model and hooks providing the option
of overriding the model class used by the session store and the session
store class used by the model.
2015-08-27 15:00:09 -04:00
Tim Graham
956df84a61
Removed historical note about session serialization.
2015-08-27 10:00:18 -04:00
Anton Strogonoff
20787b5c29
Used consistent capitalization and hyphenation of "class-based views" in docs.
2015-08-18 19:07:10 -04:00
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Marten Kenbeek
bc7923beff
Fixed #24127 -- Changed the default current_app to the current namespace.
...
Changed the url template tag to use request.resolver_match.namespace as a
default for the current_app argument if request.current_app is not set.
2015-07-27 09:14:48 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Marten Kenbeek
738c0de300
Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.
...
Made BaseHandler fall back to settings.ROOT_URLCONF if
HttpRequest.urlconf is set to None, rather than raising
ImproperlyConfigured.
2015-06-20 18:52:33 -04:00
Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Marissa Zhou
8b1f39a727
Fixed #24796 -- Added a hint on placement of SecurityMiddleware in MIDDLEWARE_CLASSES.
...
Also moved it in the project template.
2015-06-08 12:32:38 -04:00
I am Clinton
0b0bb6100d
Fixed typos in HTTP decorator docs.
2015-05-25 07:38:08 -04:00
Tim Graham
fc1eea59c0
Fixed typo in docs/topics/http/sessions.txt
2015-05-17 18:35:14 -04:00
I am Clinton
dce004ab72
Minor edits to docs/topics/http/urls.txt
2015-05-14 19:31:30 -04:00
David Krisch
1a62f19707
Fixed #24763 -- Moved DoesNotExist exception to model docs.
2015-05-08 13:05:50 -04:00
Markus Bertheau
4a438e400b
Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
2015-04-28 12:07:02 -04:00
Marcus Pennington
269a5dbdd3
Fixed #24700 -- Added dash to slug regex in http docs
2015-04-24 17:57:29 +01:00
Daniel Harding
ad31bc0565
Updated startproject MIDDLEWARE_CLASSES in docs.
2015-04-24 09:32:40 -04:00
Adam Zapletal
872eb26f54
Fixed #24621 -- Fixed and documented SessionBase.pop's second argument
...
Changed SessionBase.pop's second argument to explicitly be default=None
rather than *args since _session is always a dict. Thanks gabor for the
report and Tim Graham for the review.
2015-04-13 10:32:03 -04:00
Bas Peschier
23a5d64f40
Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
...
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.
2015-03-23 08:43:01 -04:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Aymeric Augustin
2133f3157e
Fixed #24168 -- Allowed selecting a template engine in a few APIs.
...
Specifically in rendering shortcuts, template responses, and class-based
views that return template responses.
Also added a test for render_to_response(status=...) which was missing
from fdbfc980
.
Thanks Tim and Carl for the review.
2015-02-03 08:29:45 +01:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Tim Graham
75f107b884
Removed request.REQUEST per deprecation timeline; refs #18659 .
2015-01-17 08:05:18 -05:00
Keryn Knight
726a9550db
Fixed #24143 -- Encouraged use of Http404 messages for debugging.
2015-01-16 09:41:01 -05:00
Aymeric Augustin
ee8d5b91e9
Wrote main documentation for templates.
2015-01-10 20:16:19 +01:00
Aymeric Augustin
cf1f36bb6e
Deprecated current_app in TemplateResponse and render(_to_response).
2014-12-28 17:02:29 +01:00
Aymeric Augustin
fdbfc98003
Deprecated some arguments of django.shortcuts.render(_to_response).
...
dictionary and context_instance and superseded by context.
Refactored tests that relied context_instance with more modern idioms.
2014-12-28 17:02:29 +01:00
Berker Peksag
093e6c68b9
Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.
2014-11-27 07:55:07 -05:00
Aymeric Augustin
17012b6936
Deprecated dirs argument to override TEMPLATE_DIRS.
...
Cancels 2f0566fa
. Refs #4278 .
2014-11-23 09:29:33 +01:00
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00
Tim Graham
babbf18999
Fixed some intersphinx references.
2014-10-16 20:00:17 -04:00
Tim Graham
a2bcec3491
Fixed #17707 , #20734 -- Added examples to URL namespacing docs.
...
Thanks Daniele Procida for review.
2014-08-26 14:31:13 -04:00
Tim Graham
c7fa27d702
Fixed #23344 -- Removed duplicate docs for file upload settings.
2014-08-23 09:30:01 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Mohammed Attia
61ed959235
Removed a doc reference to the deprecated `mimetype` kwarg.
2014-08-06 22:15:54 -04:00
areski
e4dd8b5dde
Fixed #23169 - Misc docs fixes.
2014-08-04 08:29:00 -04:00
Erik Romijn
e26366da44
Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
2014-08-02 18:55:20 +02:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
David Hoffman
e1c85167a3
Fixed #23097 -- Switched to new octal format in docs
2014-07-26 11:20:24 +02:00
Tim Graham
7d0519c725
Fixed #23023 -- Added warning against local-memory cache.
...
Thanks django at kerz.id.au.
2014-07-16 12:34:27 -04:00
Tim Graham
3a85aae2ea
Revert "Improve cookie based session backend docs." refs #20418
...
This reverts commit d9c01da1f8
.
This is poor advice as it breaks the test client login (refs #22934 ).
We can add a note like this back after refs #22986 is resolved.
2014-07-09 13:54:41 -04:00
Peter Kowalczyk
48241ec9c4
Fixed typo in middleware docs.
...
Function definition should have an ending colon.
2014-06-24 16:06:06 -04:00
Maxime Turcotte
f97c53c098
Fixed #22801 -- Added 'www.' to diveintopython.net links
2014-06-10 15:38:25 -04:00
Tim Graham
4445d36d47
Fixed #22384 -- Deprecated reversing URLs by dotted path.
2014-06-03 07:30:14 -04:00
Jonathan Lindén
5b98ba08e2
Fixed #21938 -- Moved documentation for error views to reference guide.
2014-06-01 13:05:19 -04:00
Claude Paroz
756c390fb5
Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
2014-05-22 18:33:10 +02:00
Erik Romijn
257fd48004
Simplified an unnecessarily complex paragraph in view docs
2014-05-16 11:21:56 +02:00
Matt Robenolt
393c0e2422
Fixed #20936 -- When logging out/ending a session, don't create a new, empty session.
...
Previously, when logging out, the existing session was overwritten by a
new sessionid instead of deleting the session altogether.
This behavior added overhead by creating a new session record in
whichever backend was in use: db, cache, etc.
This extra session is unnecessary at the time since no session data is
meant to be preserved when explicitly logging out.
2014-05-11 21:42:26 -03:00