Ticket #14281: 14281.diff

File 14281.diff, 4.5 KB (added by timo, 5 years ago)

fix an additional typo in topics/signals.txt (extra "used")

  • docs/howto/deployment/modpython.txt

     
    1 .. _howto-deployment-modpython:
    2 
    31============================================
    42How to use Django with Apache and mod_python
    53============================================
  • docs/topics/http/urls.txt

     
    939939However, if your application constructs part of the URL hierarchy itself, you
    940940may occasionally need to generate URLs. In that case, you need to be able to
    941941find the base URL of the Django project within its web server
    942 (normally, :func:`~django.core.urlresolvers.reverse` takes care of this for 
     942(normally, :func:`~django.core.urlresolvers.reverse` takes care of this for
    943943you). In that case, you can call ``get_script_prefix()``, which will return the
    944944script prefix portion of the URL for your Django project. If your Django
    945945project is at the root of its webserver, this is always ``"/"``, but it can be
    946 changed, for instance  by using ``django.root`` (see :ref:`How to use
    947 Django with Apache and mod_python <howto-deployment-modpython>`).
     946changed, for instance  by using ``django.root`` (see :doc:`How to use
     947Django with Apache and mod_python </howto/deployment/modpython>`).
  • docs/topics/templates.txt

     
    590590        {{ comment }}
    591591    {% endfor %}
    592592
    593 Similarly, :doc:`QuerySets<ref/models/querysets>` provide a ``count()`` method
     593Similarly, :doc:`QuerySets</ref/models/querysets>` provide a ``count()`` method
    594594to count the number of objects they contain. Therefore, you can obtain a count
    595595of all comments related to the current task with::
    596596
  • docs/topics/signals.txt

     
    8989
    9090    request_finished.connect(my_callback)
    9191
    92 Alternatively, you can use a decorator used when you define your receiver:
     92Alternatively, you can use a ``receiver`` decorator when you define your
     93receiver:
    9394
    9495.. code-block:: python
    9596
     
    102103
    103104Now, our ``my_callback`` function will be called each time a request finishes.
    104105
     106.. versionadded:: 1.3
     107
     108The ``receiver`` decorator was added in Django 1.3.
     109
    105110.. admonition:: Where should this code live?
    106111
    107112    You can put signal handling and registration code anywhere you like.
  • docs/ref/generic-views.txt

     
    9696.. versionadded:: 1.1
    9797    The ``permanent`` keyword argument is new in Django 1.1.
    9898
     99.. versionadded:: 1.3
     100    The ``query_string`` keyword argument is new in Django 1.3.
    99101
    100102**Example:**
    101103
     
    380382
    381383    * ``date_list``: A list of ``datetime.date`` objects representing all
    382384      days that have objects available in the given month, according to
    383       ``queryset``, in ascending order.   
     385      ``queryset``, in ascending order.
    384386
    385387    * ``month``: A ``datetime.date`` object representing the given month.
    386388
  • docs/ref/request-response.txt

     
    4646    attr:`~HttpRequest.path` can make your code much easier to move between test
    4747    and deployment servers.
    4848
    49     For example, if the ``django.root`` for your application is set to 
     49    For example, if the ``django.root`` for your application is set to
    5050    ``"/minfo"``, then ``path`` might be ``"/minfo/music/bands/the_beatles/"``
    5151    and ``path_info`` would be ``"/music/bands/the_beatles/"``.
    5252
     
    542542
    543543    .. _`cookie Morsel`: http://docs.python.org/library/cookie.html#Cookie.Morsel
    544544
     545    .. versionchanged:: 1.3
     546
     547    Both the possibility of specifying a ``datetime.datetime`` object in
     548    ``expires`` and the auto-calculation of ``max_age`` in such case were added
     549    in Django 1.3.
     550
    545551.. method:: HttpResponse.delete_cookie(key, path='/', domain=None)
    546552
    547553    Deletes the cookie with the given key. Fails silently if the key doesn't
Back to Top