Explorar o código

Use redirect on preview

Sage Abdullah hai 1 mes
pai
achega
a58282313a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      bakerydemo/settings/base.py

+ 1 - 0
bakerydemo/settings/base.py

@@ -259,4 +259,5 @@ WAGTAIL_HEADLESS_PREVIEW = {
     "CLIENT_URLS": {
         "default": "http://localhost:3000",
     },
+    "REDIRECT_ON_PREVIEW": True,
 }