summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-03-02 16:56:04 +0000
committerJannis Leidel <jannis@leidel.info>2012-03-02 16:56:04 +0000
commitd93a2ef887e353192ff8b0a7a5271ad80abf2b52 (patch)
tree0e00826bd9ca93ac094ce9b0652c6ad594856ae8 /docs/topics
parent4887a8de170ad9227d79f39f5bd3d2564f4e7ef8 (diff)
Fixed #17568 -- Mentioned ``reverse_lazy`` in the ``LOGIN_REDIRECT_URL`` settings docs. Thanks, zsiciarz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/http/urls.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
index f3e27ae1f0..f720ad3e4e 100644
--- a/docs/topics/http/urls.txt
+++ b/docs/topics/http/urls.txt
@@ -888,6 +888,8 @@ reverse_lazy()
A lazily evaluated version of `reverse()`_.
+.. function:: reverse_lazy(viewname, [urlconf=None, args=None, kwargs=None, current_app=None])
+
It is useful for when you need to use a URL reversal before your project's
URLConf is loaded. Some common cases where this function is necessary are: