~netlandish/django-wiki

9adcfa03f73c4355bc51a47b0336c3457488aafc — noopy 4 years ago 484c6bf
update installation docs' login redirection's django.urls for django 2.2+
1 files changed, 2 insertions(+), 2 deletions(-)

M docs/installation.rst
M docs/installation.rst => docs/installation.rst +2 -2
@@ 143,12 143,12 @@ handling entirely, set ``WIKI_ACCOUNT_HANDLING = False``.
    WIKI_ACCOUNT_SIGNUP_ALLOWED = True

After a user is logged in, they will be redirected to the value of
``LOGIN_REDIRECT_URL``, which you can configure in your project settings to
``LOGIN_REDIRECT_URL``, which you can configure in your project's settings.py to
point to the root article:

.. code-block:: python

    from django.core.urlresolvers import reverse_lazy
    from django.urls import reverse_lazy
    LOGIN_REDIRECT_URL = reverse_lazy('wiki:get', kwargs={'path': ''})