0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

103 Commits

Author SHA1 Message Date
Renato Oliveira
e3720b990a Fixed #25382 -- Removed obsolete references to DateQuerySet. 2015-09-11 12:16:06 -04:00
Anton Strogonoff
20787b5c29 Used consistent capitalization and hyphenation of "class-based views" in docs. 2015-08-18 19:07:10 -04:00
Tim Graham
aaacaeb096 Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Andrei Kulakov
8a1824d465 Fixed #24643 -- Added get_context_data() method to FormMixin 2015-04-24 20:17:29 -04:00
Alasdair Nicol
b9e972b961 Fixed #24695 -- Tidied up a couple of regexes in the CBV docs
Thanks datakid for the report
2015-04-24 09:23:28 -04:00
Steve Hiemstra
258d81acbe Fixed #24682 -- Corrected a few generic editing view links 2015-04-21 10:26:19 -04:00
Andrew Pinkham
fea45eff5a Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs. 2015-03-02 13:33:11 -05:00
Tim Graham
9a391fbd61 Fixed broken links in class based views flattend index; refs #24250. 2015-02-03 09:10:55 -05:00
Tim Graham
5d193d042a Fixed #24250 -- Corrected mistakes in FormMixin docs. 2015-02-03 08:41:57 -05:00
Aymeric Augustin
2133f3157e Fixed #24168 -- Allowed selecting a template engine in a few APIs.
Specifically in rendering shortcuts, template responses, and class-based
views that return template responses.

Also added a test for render_to_response(status=...) which was missing
from fdbfc980.

Thanks Tim and Carl for the review.
2015-02-03 08:29:45 +01:00
Tim Graham
6e13c0490d Changed RedirectView.permanent to False per deprecation timeline; refs #21587. 2015-01-18 17:43:06 -05:00
Collin Anderson
a420f83e7d Fixed #24055 -- Keep reference to view class for resolve() 2015-01-17 22:09:10 +07:00
Claude Paroz
f48e2258a9 Fixed #24133 -- Replaced formatting syntax in success_url placeholders
Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham
for the reviews.
2015-01-12 22:51:22 +01:00
Aymeric Augustin
9eb4f28e89 Deprecated TEMPLATE_CONTEXT_PROCESSORS. 2014-12-28 17:02:31 +01:00
Tim Graham
493ab45349 Updated TemplateResponseMixin docs to reflect new behavior after refs #23789. 2014-12-17 20:02:15 -05:00
Berker Peksag
9a30acad8a Fixed #21587 -- Added a warning for changing default of RedirectView.permanent. 2014-11-25 09:22:18 -05:00
Berker Peksag
343162410f Fixed #21753 -- Raised exception when both form_class and fields are specified. 2014-11-21 14:23:17 -05:00
Simon Charette
f2ddc439b1 Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.
Thanks Tim Graham for the review.
2014-10-30 19:10:52 -04:00
Ismail Badawi
e501d4c505 Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses. 2014-10-06 08:23:42 -04:00
Jon Dufresne
8c581ff394 Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slug
Enabling the attribute causes get_object() to perform its lookup
using both the primary key and the slug.
2014-10-02 15:42:30 -04:00
Duane Hilton
054bdfeff1 Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Tim Graham
0c9f40f776 Fixed #22154 -- Added "Built-in" to some class-based views titles. 2014-08-23 19:30:42 -04:00
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