diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/urls.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 1027772515..c8564a3bb8 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -612,6 +612,13 @@ arguments to use in the URL matching. For example:: .. _URL pattern name: `Naming URL patterns`_ +The ``reverse()`` function can reverse a large variety of regular expression +patterns for URLs, but not every possible one. The main restriction at the +moment is that the pattern cannot contain alternative choices using the +vertical bar (``"|"``) character. You can quite happily use such patterns for +matching against incoming URLs and sending them off to views, but you cannot +reverse such patterns. + permalink() ----------- |
