Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13051 -- Corrected the documentation of URL namespacing to mat…

…ch the tested implementation behavior. Thanks to apollo13 for the report, and Gabriel Hurley for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5802ea3bbc24a74190ca97058c7894df260ff5b1 1 parent 4a15dc4
Russell Keith-Magee authored May 09, 2010

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/topics/http/urls.txt
6  docs/topics/http/urls.txt
@@ -728,7 +728,7 @@ the fully qualified name into parts, and then tries the following lookup:
728 728
        that has an instance namespace matching the application namespace (in
729 729
        this example, an instance of the ``myapp`` called ``myapp``).
730 730
 
731  
-    4. If there is no default application instance, Django will pick the first
  731
+    4. If there is no default application instance, Django will pick the last
732 732
        deployed instance of the application, whatever its instance name may be.
733 733
 
734 734
     5. If the provided namespace doesn't match an application namespace in
@@ -749,9 +749,9 @@ possible:
749 749
       the instance ``bar``.
750 750
 
751 751
     * If there is no current instance - say, if we were rendering a page
752  
-      somewhere else on the site - ``myapp:index`` will resolve to the first
  752
+      somewhere else on the site - ``myapp:index`` will resolve to the last
753 753
       registered instance of ``myapp``. Since there is no default instance,
754  
-      the first instance of ``myapp`` that is registered will be used. This could
  754
+      the last instance of ``myapp`` that is registered will be used. This could
755 755
       be ``foo`` or ``bar``, depending on the order they are introduced into the
756 756
       urlpatterns of the project.
757 757
 

0 notes on commit 5802ea3

Please sign in to comment.
Something went wrong with that request. Please try again.