mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Fixed reference to LoginView in docs. (#4901)
This commit is contained in:
parent
1ff6a5003a
commit
e8c88d44af
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ The basic login page can be customised by setting ``WAGTAIL_FRONTEND_LOGIN_TEMPL
|
|||
|
||||
WAGTAIL_FRONTEND_LOGIN_TEMPLATE = 'myapp/login.html'
|
||||
|
||||
Wagtail uses Django's standard ``django.contrib.auth.views.login`` view here, and so the context variables available on the template are as detailed in `Django's login view documentation <https://docs.djangoproject.com/en/stable/topics/auth/default/#django.contrib.auth.views.login>`_.
|
||||
Wagtail uses Django's standard ``django.contrib.auth.views.LoginView`` view here, and so the context variables available on the template are as detailed in :class:`Django's login view documentation <django.contrib.auth.views.LoginView>`.
|
||||
|
||||
If the stock Django login view is not suitable - for example, you wish to use an external authentication system, or you are integrating Wagtail into an existing Django site that already has a working login view - you can specify the URL of the login view via the ``WAGTAIL_FRONTEND_LOGIN_URL`` setting:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue