diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-30 13:33:53 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-30 13:33:53 +0000 |
| commit | e3d322ede8b2c7fb52b028ab654ae7ed38e1bce4 (patch) | |
| tree | 2e08a0c93f3d4ad8b19d72a215e70ee9d3c4425e /docs | |
| parent | 14c082646dabf61a27e7ee13c77682bf5b5c5101 (diff) | |
Fixed #15177 -- Added note to generic views reference page indicating that the views have been deprecated (mirroring the topic guide). Thanks to rasca for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/generic-views.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt index b9b887dda7..fe3ff808c2 100644 --- a/docs/ref/generic-views.txt +++ b/docs/ref/generic-views.txt @@ -2,6 +2,16 @@ Generic views ============= + +.. versionchanged:: 1.3 + +.. note:: + + From Django 1.3, function-based generic views have been deprecated in favor + of a class-based approach, described in the class-based views :doc:`topic + guide </topics/class-based-views>` and :doc:`detailed reference + </ref/class-based-views>`. + Writing Web applications can be monotonous, because we repeat certain patterns again and again. In Django, the most common of these patterns have been abstracted into "generic views" that let you quickly provide common views of |
