Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #13051 -- Corrected the documentation of URL namespacin…

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

Backport of r13161 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3981355c5c770f80c1590a4d4ba152e78026e14d 1 parent d529963
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
@@ -722,7 +722,7 @@ the fully qualified name into parts, and then tries the following lookup:
722 722
        that has an instance namespace matching the application namespace (in
723 723
        this example, an instance of the ``myapp`` called ``myapp``).
724 724
 
725  
-    4. If there is no default application instance, Django will pick the first
  725
+    4. If there is no default application instance, Django will pick the last
726 726
        deployed instance of the application, whatever its instance name may be.
727 727
 
728 728
     5. If the provided namespace doesn't match an application namespace in
@@ -743,9 +743,9 @@ possible:
743 743
       the instance ``bar``.
744 744
 
745 745
     * If there is no current instance - say, if we were rendering a page
746  
-      somewhere else on the site - ``myapp:index`` will resolve to the first
  746
+      somewhere else on the site - ``myapp:index`` will resolve to the last
747 747
       registered instance of ``myapp``. Since there is no default instance,
748  
-      the first instance of ``myapp`` that is registered will be used. This could
  748
+      the last instance of ``myapp`` that is registered will be used. This could
749 749
       be ``foo`` or ``bar``, depending on the order they are introduced into the
750 750
       urlpatterns of the project.
751 751
 

0 notes on commit 3981355

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