mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Slug widget
This commit is contained in:
@@ -83,6 +83,9 @@ PRETIX_REGISTRATION = config.getboolean('pretix', 'registration', fallback=True)
|
||||
PRETIX_PASSWORD_RESET = config.getboolean('pretix', 'password_reset', fallback=True)
|
||||
|
||||
SITE_URL = config.get('pretix', 'url', fallback='http://localhost')
|
||||
if SITE_URL.endswith('/'):
|
||||
SITE_URL = SITE_URL[:-1]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [urlparse(SITE_URL).hostname]
|
||||
|
||||
PRETIX_PLUGINS_DEFAULT = config.get('pretix', 'plugins_default',
|
||||
|
||||
Reference in New Issue
Block a user