Ticket #12205: 12205.diff
File 12205.diff, 1.8 KB (added by , 15 years ago) |
---|
-
docs/releases/1.1.txt
388 388 * The ``include()`` function in Django URLconf modules can now accept sequences 389 389 of URL patterns (generated by ``patterns()``) in addition to module names. 390 390 391 * Instances of Django forms (see `the forms overview <topics-forms-index>`_ now392 have two additional methods, ``hidden_fields()`` and ``visible_fields()``,391 * Instances of Django forms (see :ref:`the forms overview <topics-forms-index>`) 392 now have two additional methods, ``hidden_fields()`` and ``visible_fields()``, 393 393 which return the list of hidden -- i.e., ``<input type="hidden">`` -- and 394 394 visible fields on the form, respectively. 395 395 396 * The ``redirect_to`` generic view (see `the generic views documentation397 <ref-generic-views>` _) now accepts an additional keyword argument396 * The ``redirect_to`` generic view (see :ref:`the generic views documentation 397 <ref-generic-views>`) now accepts an additional keyword argument 398 398 ``permanent``. If ``permanent`` is ``True``, the view will emit an HTTP 399 399 permanent redirect (status code 301). If ``False``, the view will emit an HTTP 400 400 temporary redirect (status code 302). … … 402 402 * A new database lookup type -- ``week_day`` -- has been added for ``DateField`` 403 403 and ``DateTimeField``. This type of lookup accepts a number between 1 (Sunday) 404 404 and 7 (Saturday), and returns objects where the field value matches that day 405 of the week. See `the full list of lookup types <field-lookups>`_ for details. 405 of the week. See :ref:`the full list of lookup types <field-lookups>` for 406 details. 406 407 407 408 * The ``{% for %}`` tag in Django's template language now accepts an optional 408 409 ``{% empty %}`` clause, to be displayed when ``{% for %}`` is asked to loop