Ticket #15177: 15177_generic_views_note.patch

File 15177_generic_views_note.patch, 751 bytes (added by rasca, 3 years ago)

note in generic views ref about generic cbv

  • docs/ref/generic-views.txt

    diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
    index b9b887d..fe3ff80 100644
    a b  
    22Generic views 
     6.. versionchanged:: 1.3 
     8.. note:: 
     10    From Django 1.3, function-based generic views have been deprecated in favor 
     11    of a class-based approach, described in the class-based views :doc:`topic 
     12    guide </topics/class-based-views>` and :doc:`detailed reference 
     13    </ref/class-based-views>`. 
    515Writing Web applications can be monotonous, because we repeat certain patterns 
    616again and again. In Django, the most common of these patterns have been 
    717abstracted into "generic views" that let you quickly provide common views of