From 9adcfa03f73c4355bc51a47b0336c3457488aafc Mon Sep 17 00:00:00 2001 From: noopy Date: Sun, 19 Apr 2020 06:48:01 +0900 Subject: [PATCH] update installation docs' login redirection's django.urls for django 2.2+ --- docs/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 3857d6ba..13ce3721 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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': ''}) -- 2.45.2