From e94efee946bb440a4ea9fbe89dcb58972a87e8b3 Mon Sep 17 00:00:00 2001 From: Curtis Maloney Date: Sat, 21 Sep 2013 13:54:48 +1000 Subject: [1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting. Backport of 43a2ec7999 from master --- docs/ref/class-based-views/mixins-date-based.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref/class-based-views') diff --git a/docs/ref/class-based-views/mixins-date-based.txt b/docs/ref/class-based-views/mixins-date-based.txt index 1a1a4d531b..7003adfa06 100644 --- a/docs/ref/class-based-views/mixins-date-based.txt +++ b/docs/ref/class-based-views/mixins-date-based.txt @@ -4,6 +4,11 @@ Date-based mixins .. currentmodule:: django.views.generic.dates +.. note:: + All the date formatting attributes in these mixins use + :func:`~time.strftime` format characters. Do not try to use the format + characters from the :ttag:`now` template tag as they are not compatible. + YearMixin --------- -- cgit v1.3