From b951ae873afb1c2a490abd4c21403934f0b6fdcc Mon Sep 17 00:00:00 2001 From: Alex Morega Date: Sun, 4 Aug 2024 17:47:44 +0300 Subject: [PATCH] Page template for SimplePage The test app (`python testmanage.py runserver`) is useful for qucik tests in development. It would be even more useful if the test page could be opened in the browser, to simulate an A/B test. --- .../test/templates/wagtail_ab_testing_test/simple_page.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 wagtail_ab_testing/test/templates/wagtail_ab_testing_test/simple_page.html diff --git a/wagtail_ab_testing/test/templates/wagtail_ab_testing_test/simple_page.html b/wagtail_ab_testing/test/templates/wagtail_ab_testing_test/simple_page.html new file mode 100644 index 0000000..f682a64 --- /dev/null +++ b/wagtail_ab_testing/test/templates/wagtail_ab_testing_test/simple_page.html @@ -0,0 +1,5 @@ +{% load wagtail_ab_testing_tags %} + +

{{ page.title }}

+ +{% wagtail_ab_testing_script %}