Code

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 
    33============= 
    44 
     5 
     6.. versionchanged:: 1.3 
     7 
     8.. note:: 
     9 
     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>`. 
     14 
    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