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