Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change to unified settings #24

Merged
merged 3 commits into from
Jan 29, 2022
Merged

Change to unified settings #24

merged 3 commits into from
Jan 29, 2022

Conversation

zerolab
Copy link
Member

@zerolab zerolab commented Jan 29, 2022

This PR moves the various disparate settings to a single, namespaced settings dict

WAGTAIL_HEADLESS_PREVIEW = {
    "CLIENT_URLS": {},  # defaults to an empty dict. You must at the very least define the default client URL.
    "LIVE_PREVIEW": False,  # set to True to enable live preview functionality
    "SERVE_BASE_URL": None,  # can be used for HeadlessServeMixin
    "REDIRECT_ON_PREVIEW": False,  # set to True to redirect to the preview instead of using the Wagtail default mechanism
}

@zerolab zerolab force-pushed the chore/unified-settings branch from 485ca8e to e034653 Compare January 29, 2022 23:11
@zerolab zerolab merged commit 7b5daa5 into main Jan 29, 2022
@zerolab zerolab deleted the chore/unified-settings branch January 29, 2022 23:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant