From 6b7caa9c718fc2901d738ddd4046e653fc865b18 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Mon, 13 Jun 2022 13:10:31 +1000 Subject: [PATCH] url for setting show_guided_tour Uses a URL param to indicate whether the value should be set to True or False. Redirects to home page. --- bookwyrm/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index 5abacae14..e5b04d111 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -650,4 +650,5 @@ urlpatterns = [ re_path( r"^summary_revoke_key/?$", views.summary_revoke_key, name="summary-revoke-key" ), + path("guided-tour/", views.toggle_guided_tour), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)