diff options
| author | Jannis Leidel <jannis@leidel.info> | 2012-03-02 16:56:04 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2012-03-02 16:56:04 +0000 |
| commit | d93a2ef887e353192ff8b0a7a5271ad80abf2b52 (patch) | |
| tree | 0e00826bd9ca93ac094ce9b0652c6ad594856ae8 /docs/topics | |
| parent | 4887a8de170ad9227d79f39f5bd3d2564f4e7ef8 (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.txt | 2 |
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: |
