1
0
mirror of https://github.com/django/django.git synced 2024-12-26 19:16:11 +00:00
Commit Graph

81 Commits

Author SHA1 Message Date
Tim Graham
14aff0bd82 Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt. 2014-08-22 11:22:09 -04:00
Tim Graham
03c1609c47 Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute. 2014-08-19 12:07:44 -04:00
Peter Harley
2724cdbff6 Fixed #18355 -- Added ordering options to list based generic views.
Added MultipleObjectMixin.ordering and get_ordering().

Refs #21450.
2014-08-15 11:09:47 -04:00
Collin Anderson
e5376999fa Refs #23276 -- Added missing url() in some places. 2014-08-13 14:20:15 -04:00
David Hoffman
f14898a453 Fixed #23106 -- Updated class-based view reference title. 2014-07-26 20:38:49 -04:00
Bartek Ciszkowski
d9f78d5344 Fixed reference to pk in RedirectView.get_redirect_url doc. 2014-07-16 13:23:11 -04:00
chriscauley
66ec9ee441 Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
Thanks tomwys for the suggestion.
2014-04-16 20:36:29 -04:00
Tim Graham
d73d0e071c Fixed #22218 -- Deprecated django.conf.urls.patterns.
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Tim Graham
51c8045145 Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
Tim Graham
ee4edb1eda Made ModelForms raise ImproperlyConfigured if the list of fields is not specified.
Also applies to modelform(set)_factory and generic model views.

refs #19733.
2014-03-22 07:56:48 -04:00
Szczepan Cieślik
e816198034 Fixed docs typos. 2014-02-25 10:28:32 -05:00
Marcin Sokół
b887408486 Fixed #22113 -- changed object_name to model_name in CBV docs.
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Alasdair Nicol
462edd22e5 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
2014-02-21 22:23:06 +01:00
Baptiste Mispelon
a5391db76a Fixed inaccuracies in generic mixins documentation. 2014-02-09 10:59:18 +00:00
Tim Graham
c05b2f58e7 Fixed #21768 -- Corrected TemplateView context section.
Thanks nedbatchelder for the report and claudep for the patch.
2014-01-16 07:58:08 -05:00
Rocky Meza
42197e31aa Fixed the base class note in the Date Views docs. 2013-11-19 10:23:59 -05:00
Baptiste Mispelon
f2e0266be7 Fixed #21396: Document backwards-incompatible change in RedirectView.get_redirect_url.
Thanks to Tim for the review.
2013-11-08 10:47:36 +01:00
Baptiste Mispelon
366bdc4566 Fixed typos in documentation. 2013-11-06 10:47:07 +01:00
Carl Meyer
8a4f5de4b6 Fixed malformed directive in CBV date-based-mixins docs. 2013-09-27 11:58:41 -06:00
Curtis Maloney
43a2ec7999 Fixed #21133 --Clarifed documentation about strftime formatting. 2013-09-21 06:42:11 -04:00
Marc Tamlyn
bac4d03ce6 Fixed #20944 -- Removed inaccurate statement about View.dispatch(). 2013-08-22 09:20:50 -04:00
Tim Graham
7b69c3e775 Removed versionadded/changed annotations for 1.5 2013-08-19 09:09:41 -04:00
Loic Bistuer
f8a6a4eba1 Improved queryset handling and docs for (Single|Multiple)ObjectMixin. 2013-08-09 17:51:58 +07:00
Dominic Rodger
c33d1ca1d9 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.
2013-08-06 07:13:17 -04:00
Aymeric Augustin
5ed7ec99b6 Added versionadded directive missing from b7bd708. 2013-07-25 20:14:51 +02:00
Tim Graham
ecd746191c Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
Thanks ijl20@ for the report.
2013-07-11 07:36:25 -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