Commit Graph

339 Commits

Author SHA1 Message Date
Christopher Schäpers 6da140724d Fixed #28627 -- Added slug converter to some path() examples in docs. 2017-09-25 13:06:11 -04:00
Sjoerd Job Postmus df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Mariusz Felisiak 081e787160 Refs #23919 -- Stopped inheriting from object to define new style classes.
Tests and docs complement to cecc079168.
2017-06-26 10:30:31 -04:00
Claude Paroz 01f658644a Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:28:44 +02:00
Michiel Beijen 48028c6f9a Pointed Dive into Python links to python3 site
The old site handles python2, and is thus no longer relevant for Django.
Also I pointed the search path links to the proper sections.
2017-05-20 15:32:35 +02:00
Robert Roskam 98bcc5d81b Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.
2017-02-11 08:58:40 -05:00
Tim Graham 7b6e42089c Fixed #25978 -- Deprecated shorcuts.render_to_response(). 2017-02-11 05:49:04 -05:00
chillaranand dc165ec8e5 Refs #23919 -- Replaced super(ClassName, self) with super() in docs. 2017-01-25 11:53:05 -05:00
Tim Graham e27e4c0339 Removed versionadded/changed annotations for 1.10. 2017-01-17 20:52:05 -05:00
Tim Graham d334f46b7a Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES. 2017-01-17 20:52:04 -05:00
David D Lowe 424187ec4b Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide. 2016-10-14 13:46:54 -04:00
Brightcells d301c61bcb Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs. 2016-08-19 09:13:53 -04:00
Kevin Christopher Henry b785927b44 Documented the cache_control() decorator. 2016-08-11 16:46:58 -04:00
Ville Skyttä f95bd89e82 Fixed #27041 -- Documented that built-in middleware are compatible with MIDDLEWARE and MIDDLEWARE_CLASSES. 2016-08-09 08:06:47 -04:00
Preetham Nosum 32cf01c1c1 Fixed #18348 -- Documented SesssionStore.create() 2016-07-22 17:16:19 -04:00
Md. Sadaf Noor 1f82b857ce Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer. 2016-07-12 13:45:01 -04:00
Trey Hunner 91e9be45ed Added urlpatterns variable in docs/topics/http/urls.txt. 2016-06-17 21:01:43 -04:00
Carl Meyer 7d1b69dbe7 Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling. 2016-06-17 10:00:39 -07:00
Berker Peksag 8f50ff5b15 Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example. 2016-06-09 12:50:35 -04:00
Berker Peksag b9c04801d4 Used snippet directive in file upload example. 2016-06-04 09:24:30 -04:00
Berker Peksag 54febdb8be Fixed #26604 -- Added a multiple file upload example to topics/http/file-uploads.txt. 2016-06-03 17:36:31 -04:00
Ed Henderson 4a4d7f980e Fixed #26021 -- Applied hanging indentation to docs. 2016-06-03 11:44:34 -04:00
Berker Peksag 698c8dfc2a Fixed #26503 -- Removed an outdated example from session docs. 2016-05-31 07:21:00 -04:00
Tim Graham cc0d1eaaea Refs #22634 -- Removed unneeded app_label in custom session engine example. 2016-05-28 17:32:37 -04:00
Tim Graham 46a38307c2 Removed versionadded/changed annotations for 1.9. 2016-05-20 11:44:29 -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