Jack Cushman
b11761e3cc
[3.0.x] Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
...
Backport of 196009c72c
from master
2020-01-08 11:20:57 +01:00
Hasan Ramezani
6cb30414bc
[3.0.x] Fixed #31069 , Refs #26431 -- Doc'd RegexPattern behavior change in passing optional named groups in Django 3.0.
...
Backport of 9736137cdc
from master
2019-12-12 14:49:13 +01:00
Mariusz Felisiak
e986e49e66
[3.0.x] Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing.
...
Regression in 76b993a117
.
Thanks Claude Paroz for the report and Carlton Gibson for reviews.
Backport of 82a88d2f48
from master
2019-12-06 09:33:45 +01:00
Tobias Kunze
4a954cfd11
Fixed #30573 -- Rephrased documentation to avoid words that minimise the involved difficulty.
...
This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review.
2019-09-06 13:27:46 +02:00
terminator14
8323691de0
Fixed typo in docs/topics/http/sessions.txt.
2019-07-23 15:10:58 +02:00
sp1rs
f197c3dd91
Fixed #30600 -- Clarified that ValueError raised by converter.to_python() means no match.
2019-07-04 13:14:51 +02:00
nsasaki128
a289e79679
Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() decorator.
2019-06-26 09:25:24 +02:00
Shashank Parekh
8000767769
Fixed #30504 -- Corrected redirect() signature in docs.
2019-05-24 08:26:29 +02:00
Hasan Ramezani
9d6f981a66
Fixed #28763 -- Allowed overriding the session cookie age with SessionStore.get_session_cookie_age().
2019-05-21 08:50:09 +02:00
Jonatas C. Damasceno
8aad3321ed
Fixed #30437 -- Clarified that urlpatterns can be a sequence.
2019-05-13 21:48:54 +02:00
alexanderblnf
406de977ea
Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
2019-03-12 10:55:37 -04:00
Tim Graham
8045dff98c
Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.
2019-01-17 10:50:25 -05:00
Tim Graham
573ec714e5
Refs #25978 -- Removed shortcuts.render_to_response() per deprecation timeline.
2019-01-17 10:50:25 -05:00
François Freitag
9b15ff08ba
Used auto-numbered lists in documentation.
2018-11-15 13:54:28 -05:00
Tom Dyson
6752c2756e
Removed obsolete "ugly URL" reference.
2018-10-17 10:20:18 -04:00
Cammil Taank
f83a689f61
Fixed #29758 -- Documented how to test custom error views.
2018-10-01 18:16:47 -04:00
Curtis Maloney
c49ea6f591
Refs #20910 -- Replaced snippet directive with code-block.
2018-09-10 13:00:34 -04:00
minusf
6429961418
Fixed typo in docs/topics/http/urls.txt.
2018-07-24 18:35:58 -04:00
Harry Moreno
6e55cf0de6
Removed usage of 'object' variable name in docs.
2018-07-07 16:55:18 -04:00
Tim Graham
99157064a0
Fixed location of a few doc labels.
2018-06-28 08:58:16 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
Alex Gaynor
9a56b4b13e
Fixed #27863 -- Added support for the SameSite cookie flag.
...
Thanks Alex Gaynor for contributing to the patch.
2018-04-13 20:58:31 -04:00
René Fleschenberg
6e52e2554d
Fixed incorrect regex in re_path() example.
2018-02-26 19:57:52 -05:00
Seohong Park
9716860596
Fixed #29146 -- Readded ^ and $ inadvertently removed from re_path() examples.
2018-02-20 21:31:30 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
Tim Graham
038ea4f859
Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes
2017-12-27 12:23:44 -05:00
Tim Graham
bae365e13c
Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
2017-12-06 09:16:32 -05:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
2017-11-01 10:57:59 -04:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
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