summaryrefslogtreecommitdiff
path: root/docs/url_dispatch.txt
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2008-03-13 06:14:26 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2008-03-13 06:14:26 +0000
commitbfc5660c472ac2e52cc4fdec78315c87b01357de (patch)
tree887c25472201f310cc5b95cb236cf5492af9bf57 /docs/url_dispatch.txt
parent304642769c5e0e704d0204bc241574c8c491cdf5 (diff)
newforms-admin: Merged from trunk up to [7232]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/url_dispatch.txt')
-rw-r--r--docs/url_dispatch.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/url_dispatch.txt b/docs/url_dispatch.txt
index 952763f078..789399de8d 100644
--- a/docs/url_dispatch.txt
+++ b/docs/url_dispatch.txt
@@ -191,12 +191,12 @@ The remaining arguments should be tuples in this format::
`Passing extra options to view functions`_ below.)
.. note::
- Since `patterns()` is a function call, it accepts a maximum of 255
+ Because `patterns()` is a function call, it accepts a maximum of 255
arguments (URL patterns, in this case). This is a limit for all Python
- function calls. This will rarely be problem in practice, since you'll
+ function calls. This is rarely a problem in practice, because you'll
typically structure your URL patterns modularly by using `include()`
sections. However, on the off-chance you do hit the 255-argument limit,
- realise that `patterns()` returns a Python list, so you can split up the
+ realize that `patterns()` returns a Python list, so you can split up the
construction of the list.
::
@@ -209,8 +209,8 @@ The remaining arguments should be tuples in this format::
)
Python lists have unlimited size, so there's no limit to how many URL
- patterns you can construct; merely that you may only create 254 at a time
- (the 255-th argument is the initial prefix argument).
+ patterns you can construct. The only limit is that you can only create 254
+ at a time (the 255th argument is the initial prefix argument).
url
---