Commit Graph

327 Commits

Author SHA1 Message Date
Brightcells 557c1a6a42 [1.10.x] Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
Backport of d301c61bcb from master
2016-08-19 09:16:31 -04:00
Kevin Christopher Henry 80e0ff7f91 [1.10.x] Documented the cache_control() decorator.
Backport of b785927b44 from master
2016-08-11 16:48:43 -04:00
Ville Skyttä 630613d719 [1.10.x] Fixed #27041 -- Documented that built-in middleware are compatible with MIDDLEWARE and MIDDLEWARE_CLASSES.
Backport of f95bd89e82 from master
2016-08-09 08:07:01 -04:00
Preetham Nosum b4fa102503 [1.10.x] Fixed #18348 -- Documented SesssionStore.create()
Backport of 32cf01c1c1 from master
2016-07-22 17:18:40 -04:00
Md. Sadaf Noor 5d8332aaee [1.10.x] Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer.
Backport of 1f82b857ce from master
2016-07-12 13:46:49 -04:00
Trey Hunner 799fbc7235 [1.10.x] Added urlpatterns variable in docs/topics/http/urls.txt.
Backport of 91e9be45ed from master
2016-06-17 21:02:40 -04:00
Carl Meyer 69de988f92 [1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
Backport of 7d1b69dbe7 from master
2016-06-17 15:55:55 -04:00
Berker Peksag 3b75d1262e [1.10.x] Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example.
Backport of 8f50ff5b15 from master
2016-06-09 12:51:57 -04:00
Berker Peksag 9e5b544713 [1.10.x] Used snippet directive in file upload example.
Backport of b9c04801d4 from master
2016-06-04 09:24:50 -04:00
Berker Peksag 27983d82c2 [1.10.x] Fixed #26604 -- Added a multiple file upload example to topics/http/file-uploads.txt.
Backport of 54febdb8be from master
2016-06-03 17:42:12 -04:00
Ed Henderson 521772ff07 [1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e from master
2016-06-03 11:49:24 -04:00
Berker Peksag ccea4a44c2 [1.10.x] Fixed #26503 -- Removed an outdated example from session docs.
Backport of 698c8dfc2a from master
2016-05-31 07:21:16 -04:00
Tim Graham 23e106bb72 [1.10.x] Refs #22634 -- Removed unneeded app_label in custom session engine example.
Backport of cc0d1eaaea from master
2016-05-28 17:33:28 -04:00
Florian Apolloner 9baf692a58 Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham baf3ec2e29 Refs #26052 -- Corrected a sentence for conditional_content_removal() removal. 2016-05-11 11:09:28 -04:00
Matthias K 8b2fce0f70 Fixed a typo 2016-05-07 15:40:53 +02:00
Tobias Kroenke b040ac06eb Fixed #26520 -- Fixed a regression where SessionBase.pop() didn't return a KeyError. 2016-04-20 13:06:47 -04:00
David Evans 99bb7fcc18 Fixed #26452 -- Loaded middleware on server start rather than on first request. 2016-04-04 10:12:41 -04:00
rowanv a6ef025dfb Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
Tim Graham 9a5c94588e Added a missing session setting in docs. 2016-01-29 15:04:49 -05:00
Elif T. Kus bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
Marten Kenbeek 16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Alasdair Nicol 28d05a4c19 Refs #25963 -- Fixed typo in docs/topics/http/shortcuts.txt 2015-12-23 18:35:29 -05:00
Alasdair Nicol 32c7d93e5f Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs. 2015-12-23 18:30:35 -05:00
Tim Graham 4d83b0163e Fixed #25969 -- Replaced render_to_response() with render() in docs examples. 2015-12-23 09:14:32 -05:00
Josh Soref 93452a70e8 Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
Jon Dufresne 7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Agnieszka Lasyk 1f8dad6915 Fixed #25755 -- Unified spelling of "website". 2015-11-16 06:44:14 -05:00
Tim Graham 54848a96dd Removed versionadded/changed annotations for 1.8. 2015-09-23 19:31:11 -04:00
Tim Graham 9023696613 Removed dictionary and context_instance parameters for render functions.
Per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham b3641512c8 Removed dirs parameter in template engine methods and related funtions.
Per deprecation timeline.
2015-09-23 19:31:11 -04:00
Tim Graham 5e450c52aa Removed current_app argument to render() and TemplateResponse().
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham 849037af36 Refs #23957 -- Required session verification per deprecation timeline. 2015-09-23 19:31:10 -04:00
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