Ticket #14281: docs-tweaks-after-djangocon10-sprints.diff

File docs-tweaks-after-djangocon10-sprints.diff, 4.2 KB (added by Ramiro Morales, 14 years ago)
  • docs/howto/deployment/modpython.txt

    diff --git a/docs/howto/deployment/modpython.txt b/docs/howto/deployment/modpython.txt
    a b  
    1 .. _howto-deployment-modpython:
    2 
    31============================================
    42How to use Django with Apache and mod_python
    53============================================
  • docs/ref/generic-views.txt

    diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
    a b  
    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

    diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
    a b  
    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
  • docs/topics/http/urls.txt

    diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
    a b  
    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/signals.txt

    diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt
    a b  
    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 used 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/topics/templates.txt

    diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
    a b  
    586586        {{ comment }}
    587587    {% endfor %}
    588588
    589 Similarly, :doc:`QuerySets<ref/models/querysets>` provide a ``count()`` method
     589Similarly, :doc:`QuerySets</ref/models/querysets>` provide a ``count()`` method
    590590to count the number of objects they contain. Therefore, you can obtain a count
    591591of all comments related to the current task with::
    592592
Back to Top