diff options
Diffstat (limited to 'docs/url_dispatch.txt')
| -rw-r--r-- | docs/url_dispatch.txt | 10 |
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 --- |
