Use Wagtail login screen for admin-protected pages
Should never happen, but at least it won't look terrible
This commit is contained in:
parent
6f073c6cfc
commit
9ee46721c9
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,8 @@ WAGTAILSEARCH_BACKENDS = {
|
|||
BASE_HOSTNAME = env("BASE_HOSTNAME")
|
||||
WAGTAILADMIN_BASE_URL = f"https://{BASE_HOSTNAME}"
|
||||
|
||||
WAGTAIL_FRONTEND_LOGIN_URL = "/admin/login/"
|
||||
|
||||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
|
||||
WAGTAILIMAGES_IMAGE_MODEL = "images.CustomImage"
|
||||
|
|
Loading…
Reference in a new issue