forked from CGM_Public/pretix_original
Support django_extensions if it is installed
This commit is contained in:
@@ -176,6 +176,12 @@ INSTALLED_APPS = [
|
|||||||
'django_markup',
|
'django_markup',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
try:
|
||||||
|
import django_extensions
|
||||||
|
INSTALLED_APPS.append('django_extensions')
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
for entry_point in iter_entry_points(group='pretix.plugin', name=None):
|
for entry_point in iter_entry_points(group='pretix.plugin', name=None):
|
||||||
INSTALLED_APPS.append(entry_point.module_name)
|
INSTALLED_APPS.append(entry_point.module_name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user