Author: ubernostrum Date: 2009-07-21 20:41:16 -0500 (Tue, 21 Jul 2009) New Revision: 11288
Modified: django/trunk/docs/releases/1.1-rc-1.txt Log: Clarify the description of URL namespacing. Modified: django/trunk/docs/releases/1.1-rc-1.txt =================================================================== --- django/trunk/docs/releases/1.1-rc-1.txt 2009-07-22 01:26:47 UTC (rev 11287) +++ django/trunk/docs/releases/1.1-rc-1.txt 2009-07-22 01:41:16 UTC (rev 11288) @@ -24,12 +24,11 @@ What's new in Django 1.1 RC 1 ============================= -The Django codebase has been in feature freeze since the first 1.1 -beta release, and so this release candidate contains only one new -feature (introduced as part of the resolution of a larger bug; see -below for a description); work leading up to this release candidate -has instead been focused on bugfixing, particularly on the new -features introduced prior to the 1.1 beta. +The Django codebase has -- with one exception -- been in feature +freeze since the first 1.1 beta release, and so this release candidate +contains only one new feature (see below); work leading up to this +release candidate has instead been focused on bugfixing, particularly +on the new features introduced prior to the 1.1 beta. For an overview of those features, consult :ref:`the Django 1.1 beta release notes <releases-1.1-beta-1>`. @@ -40,23 +39,18 @@ The 1.1 beta release introduced the ability to use reverse URL resolution with Django's admin application, which exposed a set of -:ref:`named URLs <naming-url-patterns>`. This feature still exists, -but in order to provide consistent resolution of admin URLs, including -support for multiple :class:`~django.contrib.admin.AdminSite` objects -in use in a single installation, a new feature has been introduced: -URL "namespaces". +:ref:`named URLs <naming-url-patterns>`. Unfortunately, achieving +consistent and correct reverse resolution for admin URLs proved +extremely difficult, and so one additional feature was added to Django +to resolve this issue: URL namespaces. -This takes the form of an additional supported argument -- -``namespace`` -- to the ``include()`` function used to include groups -of URL patterns in a Django URLConf. When this argument is used, -pattern names supplied for reverse resolution may specify the -namespace in addition to the pattern name (using a colon as separator; -e.g., ``namespace-name:pattern-name``), and the reverse resolver will -take the namespace into account when searching for a match. +In short, this feature allows the same group of URLs, from the same +application, to be included in a Django URLConf multiple times, with +varying (and potentially nested) named prefixes which will be used +when performing reverse resolution. For full details, see :ref:`the +documentation on defining URL namespaces +<topics-http-defining-url-namespaces>`. -For more details, see :ref:`the documentation on defining URL -namespaces <topics-http-defining-url-namespaces>`. - Due to the changes needed to support this feature, the URL pattern names used when reversing admin URLs have changed since the 1.1 beta release; if you were developing applications which took advantage of --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---