mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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
This commit is contained in:
parent
4887a8de17
commit
d93a2ef887
2 changed files with 28 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue