Commit Graph

118 Commits

Author SHA1 Message Date
Tim Graham db2a6b6bfa Fixed #26695 -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor.
2016-06-01 08:15:50 -04:00
Tim Graham 46a38307c2 Removed versionadded/changed annotations for 1.9. 2016-05-20 11:44:29 -04:00
Tim Graham 6dd503851c Fixed #26376 -- Clarifed meaning of 'search' in TemplateResponseMixin.get_template_names() docs. 2016-03-21 08:09:13 -04:00
Tim Graham 1d0abeaf75 Fixed #26375 -- Used a more generic name in a reusable template example. 2016-03-18 11:37:20 -04:00
Michal Petrucha 2109975e90 Refs #26217 -- Fixed typo in docs/ref/class-based-views/generic-date-based.txt. 2016-03-05 19:40:33 -05:00
Michal Petrucha fe8ea3ba3b Fixed #26217 -- Added a warning about format strings to WeekArchiveView docs. 2016-03-01 10:29:52 -05:00
rowanv a6ef025dfb Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
Elif T. Kus bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
Varun Sharma 3d6474e1a5 Fixed #25385 -- Allowed importing views.generic.View from views.View. 2016-01-11 08:18:44 -05:00
Marten Kenbeek 16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Jon Dufresne 7aabd62380 Fixed #25778 -- Updated docs links to use https when available. 2015-12-01 08:01:34 -05:00
Jacek Bzdak 494b7986a3 Fixed #25397 -- Documented class-based view context variable clash with context processors. 2015-10-23 15:18:39 -04:00
Tim Graham 54848a96dd Removed versionadded/changed annotations for 1.8. 2015-09-23 19:31:11 -04:00
Tim Graham 491de4f07c Refs #23656 -- Required FormMixin.get_form() form_class parameter to be optional.
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham 6eed9ae747 Refs #24133 -- Removed legacy formatting syntax in success_url placeholders.
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
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