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
This commit is contained in:
parent
14c082646d
commit
e3d322ede8
|
@ -2,6 +2,16 @@
|
||||||
Generic views
|
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
|
Writing Web applications can be monotonous, because we repeat certain patterns
|
||||||
again and again. In Django, the most common of these patterns have been
|
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
|
abstracted into "generic views" that let you quickly provide common views of
|
||||||
|
|
Loading…
Reference in New Issue