Ticket #19227: generic-display.txt.diff

File generic-display.txt.diff, 1.8 KB (added by ohumbel, 12 years ago)

render both detail and list method flowcharts as tree structures

  • docs/ref/class-based-views/generic-display.txt

    diff --git a/docs/ref/class-based-views/generic-display.txt b/docs/ref/class-based-views/generic-display.txt
    a b  
    2525
    2626    **Method Flowchart**
    2727
    28     1. :meth:`dispatch()`
    29     2. :meth:`http_method_not_allowed()`
    30     3. :meth:`get_template_names()`
    31     4. :meth:`get_slug_field()`
    32     5. :meth:`get_queryset()`
    33     6. :meth:`get_object()`
    34     7. :meth:`get_context_object_name()`
    35     8. :meth:`get_context_data()`
    36     9. :meth:`get()`
    37     10. :meth:`render_to_response()`
     28    .. exact indentation and empty lines are required for the following tree
     29
     30    * :meth:`dispatch()`
     31   
     32      * :meth:`http_method_not_allowed()` in case of failure
     33      * :meth:`get()`
     34
     35        * :meth:`get_object()`
     36
     37          * :meth:`get_queryset()`
     38          * :meth:`get_slug_field()`
     39        * :meth:`get_context_data()`
     40
     41          * :meth:`get_context_object_name()`
     42        * :meth:`render_to_response()`
     43
     44          * :meth:`get_template_names()`
    3845
    3946    **Example views.py**::
    4047
     
    8693
    8794    **Method Flowchart**
    8895
    89     1. :meth:`dispatch()`
    90     2. :meth:`http_method_not_allowed()`
    91     3. :meth:`get_template_names()`
    92     4. :meth:`get_queryset()`
    93     5. :meth:`get_objects()`
    94     6. :meth:`get_context_data()`
    95     7. :meth:`get()`
    96     8. :meth:`render_to_response()`
     96    .. exact indentation and empty lines are required for the following tree
     97
     98    * :meth:`dispatch()`
     99
     100      * :meth:`http_method_not_allowed()` in case of failure
     101      * :meth:`get()`
     102   
     103        * :meth:`get_queryset()`
     104        * :meth:`get_context_data()`
     105        * :meth:`render_to_response()`
     106
     107          * :meth:`get_template_names()`
    97108
    98109
    99110    **Example views.py**::
Back to Top