mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Do not even import excluded plugins
This commit is contained in:
@@ -307,6 +307,8 @@ except ImportError:
|
||||
|
||||
PLUGINS = []
|
||||
for entry_point in iter_entry_points(group='pretix.plugin', name=None):
|
||||
if entry_point.module_name in PRETIX_PLUGINS_EXCLUDE:
|
||||
continue
|
||||
PLUGINS.append(entry_point.module_name)
|
||||
INSTALLED_APPS.append(entry_point.module_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user