Commit Graph

66 Commits

Author SHA1 Message Date
Alasdair Nicol 39b099bdd2 [1.6.x] Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.

Thanks nikunj.sg for the report

Backport of 462edd22e5 from master.
2014-02-23 13:58:08 +01:00
Marcin Sokół 79cc1fa58d [1.6.x] Fixed #22113 -- changed object_name to model_name in CBV docs.
Thanks to trac user nikunj.sg for the report.

Backport of b887408486 from master.
2014-02-23 13:52:45 +01:00
Baptiste Mispelon dbb9819360 [1.6.x] Fixed inaccuracies in generic mixins documentation.
Backport of a5391db76a from master.
2014-02-09 11:00:25 +00:00
Tim Graham 363b8c690a [1.6.x] Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.

Backport of c05b2f58e7 from master
2014-01-16 07:59:15 -05:00
Rocky Meza ac2ef4af7c [1.6.x] Fixed the base class note in the Date Views docs.
Backport of 42197e31aa from master
2013-11-19 10:25:48 -05:00
Dominic Rodger a9c50fccf2 [1.6.x] Fixed #20852 - Fixed incorrectly generated left quotes in docs.
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.

Instances of the problem were found by looking for
">‘" in the generated HTML.

Backport of c33d1ca1d9 from master.
2013-11-18 16:03:00 +01:00
Baptiste Mispelon 6c34e18bd4 [1.6.x] Fixed #21396: Document backwards-incompatible change in RedirectView.get_redirect_url.
Thanks to Tim for the review.

Backport of f2e0266be7 from master.
2013-11-08 10:55:11 +01:00
Curtis Maloney e94efee946 [1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting.
Backport of 43a2ec7999 from master
2013-09-21 06:56:00 -04:00
Marc Tamlyn 8d02c378ab [1.6.x] Fixed #20944 -- Removed inaccurate statement about View.dispatch().
Backport of bac4d03ce6 from master
2013-08-22 09:21:28 -04:00
Aymeric Augustin efdf7442bb [1.6.x] Added versionadded directive missing from b7bd708.
Backport of 5ed7ec9 from master.
2013-07-25 20:16:02 +02:00
Tim Graham f93b2fe7e6 [1.6.x] Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
Thanks ijl20@ for the report.

Backport of ecd746191c from master
2013-07-11 07:37:42 -04:00
Tim Graham e10757ff4d Doc cleanup for FormMixin.prefix; refs #18872. 2013-06-25 07:50:43 -04:00
Baptiste Mispelon 299983616f Fixed #20644 -- Add ModelFormMixin.fields to the CBV flattened index
Thanks to Tim Graham for the report and review.
2013-06-24 11:59:08 +02:00
Simon Charette ecf63d5d89 Added missing `versionadded` for `FormMixin.prefix`. 2013-06-22 16:49:24 -04:00
Gilberto Gonçalves ef37b23050 Fixed #18872 -- Added prefix to FormMixin
Thanks @ibustama for the initial patch and dragonsnaker for opening the
report.
2013-06-22 12:12:43 +01:00
Marc Tamlyn f656757888 Merge pull request #1271 from batisteo/ticket-20565
Fixed #20565 -- Added template examples for GCBV.
2013-06-14 07:40:00 -07:00
Baptiste Darthenay 81545940c6 Fixed #20565 -- Added template examples for GCBV.
Thanks to David Reitter for the report,
and to Marc Tamlyn and Baptiste Mispelon for the review.
2013-06-14 16:31:11 +02:00
Marc Tamlyn b7bd7087e6 Fixed #15273 -- Extend RedirectView to allow reversal by name.
Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
2013-06-14 11:59:26 +01:00
Tim Graham bb863faecd Proofed the 1.6 release notes 2013-06-05 12:55:58 -04:00
Tim Graham c36b75c814 Fixed #20545 - Made class-based view MRO lists consistent.
Thanks wim@ for the suggestion.
2013-06-03 10:06:48 -04:00
Krzysztof Jurewicz ee8b810b97 Fixed #20478 – Added support for HTTP PATCH method in generic views. 2013-05-22 14:48:11 +02:00
Aymeric Augustin 5d16456991 Fixed #20476 -- Typo. 2013-05-21 21:29:14 +02:00
Alasdair Nicol 428875775c Fix typo in redirect view docs 2013-05-20 00:59:17 +02:00
Zbigniew Siciarz 0b0741602b Fixed #20294 -- Documented context processors in TemplateResponseMixin. 2013-05-18 12:45:40 +02:00
Tim Graham 289afc3156 Fixed #20421 - Typo in class-based view docs. 2013-05-16 09:56:30 -04:00
Luke Plant f026a519ae Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and added '__all__' shortcut
This also updates all dependent functionality, including modelform_factory
 and modelformset_factory, and the generic views `ModelFormMixin`,
 `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-05-09 16:44:36 +01:00
Juan Catalano 78c842a323 Adapted uses of versionchanged/versionadded to the new form.
Refs #20104.
2013-04-20 17:18:35 +02:00
Simon Charette b0bbccf630 Fixed #20262 -- Replaced a reference to the wrong model in the CBV doc.
Thanks to mossplix for the review and bmispelon for the review.
2013-04-15 16:23:35 -04:00
Tim Graham 738eef0f8b Improved FormView docs in class-based views index.
Thanks Stefan Berder.
2013-03-29 07:57:07 -04:00
Tim Graham 93cffc3b37 Added missing markup to docs. 2013-03-22 13:50:07 -04:00
Tim Graham c89717fabe Fixed #17094 - Typo in class-based views doc.
Thanks alej0 for the report.
2013-02-23 08:52:33 -05:00
Simon Charette a10f390804 Fixed #19044 -- Made `DeletionMixin` interpolate its `success_url`.
Thanks to nxvl and slurms for the initial patch, ptone for the review
and timo for the documentation tweaks.
2013-02-11 02:39:14 -05:00
Aymeric Augustin a0c67c69bf Documented ArchiveIndexView's date_list context variable.
Refs #16218.
2013-02-01 13:42:30 +01:00
Claude Paroz 56e553129f Fixed #19714 -- Updated documentation about TemplateView context
Thanks Aramgutang for the report. Refs #17228.
2013-02-01 09:55:19 +01:00
Aymeric Augustin c8c7cdc8f8 Changed "versionadded" after the decision to backport.
Refs #19076.
2013-01-30 21:35:45 +01:00
Aymeric Augustin 23e319d729 Fixed #19076 -- Added content_type attribute to TemplateView.
Thanks Gavin Wahl.
2013-01-30 21:26:17 +01:00
Tim Graham 9b5f64cc6e Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Tim Graham 0d3f16b12e Fixed #19520 - Corrected some misleading docs about template_name_suffix.
Thanks jnns for the report.
2013-01-01 18:45:57 -05:00
Aymeric Augustin 7ee7599ab3 Removed versionadded/changed annotations dating back to 1.4. 2012-12-29 21:59:08 +01:00
Tim Graham 38055222bd Fixed #19239 - Added examples for generic date views
Thank-you Daniel Greenfeld and Scott Nixon.
2012-11-27 19:26:37 -05:00
Tim Graham 7b2d95eb30 Clarified usage of as_view kwargs for setting arguments on class based views
Thanks Dave McLain for the patch.
2012-11-22 09:07:21 -05:00
Chris Beaven 48e8b5e944 Add orphans support to MultipleObjectMixin
Fixes #7005
2012-11-21 16:50:23 +13:00
Jannis Leidel 778b8bdcf4 Merge pull request #467 from tomchristie/page-kwarg
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17 12:27:01 -08:00
Aymeric Augustin 00ff69a827 Fixed #19283 -- Fixed typo in imports in CBV docs. 2012-11-13 20:46:29 +01:00
Tom Christie 3f2fc2f41a Formatting tweaks. 2012-11-09 16:16:58 +00:00
Tom Christie 5bc6929f9a Include `versionadded 1.5` directive 2012-11-09 16:15:19 +00:00
Tom Christie 502be865c6 Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded 'page'. 2012-10-25 10:31:14 +01:00
Aymeric Augustin baa33cd8fa Fixed #16218 -- date_list order in generic CBVs.
Thanks nnrcschmdt for the report and bpeschier for the initial
version of the patch.
2012-09-22 11:47:34 +02:00
Collin Anderson b771bcc7b4 document changes for YearArchiveView. 2012-09-18 11:06:10 -04:00
Tim Graham 518c582966 Fixed #15906 - Documented HEAD method in CBVs; thanks zsiciarz for the patch. 2012-09-08 18:45:02 -04:00