Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added documentation of the arguments for the url() function.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d1892edc9fa9a2b4e443afb0d389c43f2ef65d50 1 parent 3c89a32
@malcolmt malcolmt authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/url_dispatch.txt
8 docs/url_dispatch.txt
@@ -204,8 +204,16 @@ optional extra arguments dictionary. For example::
+This function takes five arguments, most of which are optional::
+ url(regex, view, kwargs=None, name=None, prefix='')
See `Naming URL patterns`_ for why the ``name`` parameter is useful.
+The ``prefix`` parameter has the same meaning as the first argument to
+``patterns()`` and is only relevant when you're passing a string as the
+``view`` parameter.

0 comments on commit d1892ed

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