Ticket #15338: 15338.diff

File 15338.diff, 753 bytes (added by Tim Graham, 12 years ago)
  • docs/ref/utils.txt

    diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
    index de19578..517776c 100644
    a b The functions defined in this module share the following properties:  
    170170    ``tzinfo`` attribute is a :class:`~django.utils.tzinfo.FixedOffset`
    171171    instance.
    172172
     173``django.utils.decorators``
     174===========================
     175
     176.. module:: django.utils.decorators
     177    :synopsis: Functions that help with dynamically creating decorators for views.
     178
     179.. function:: method_decorator(decorator)
     180
     181    Converts a function decorator into a method decorator. See :ref:`decorating
     182    class based views<decorating-class-based-views>` for example usage.
     183
    173184``django.utils.encoding``
    174185=========================
    175186
Back to Top