forked from CGM_Public/pretix_original
move CORE_MODULES to base settings so it's already available when registering types
This commit is contained in:
@@ -75,6 +75,14 @@ FORMAT_MODULE_PATH = [
|
|||||||
'pretix.helpers.formats',
|
'pretix.helpers.formats',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
CORE_MODULES = {
|
||||||
|
"pretix.base",
|
||||||
|
"pretix.presale",
|
||||||
|
"pretix.control",
|
||||||
|
"pretix.plugins.checkinlists",
|
||||||
|
"pretix.plugins.reports",
|
||||||
|
}
|
||||||
|
|
||||||
ALL_LANGUAGES = [
|
ALL_LANGUAGES = [
|
||||||
('en', _('English')),
|
('en', _('English')),
|
||||||
('de', _('German')),
|
('de', _('German')),
|
||||||
|
|||||||
@@ -427,14 +427,6 @@ REST_FRAMEWORK = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CORE_MODULES = {
|
|
||||||
"pretix.base",
|
|
||||||
"pretix.presale",
|
|
||||||
"pretix.control",
|
|
||||||
"pretix.plugins.checkinlists",
|
|
||||||
"pretix.plugins.reports",
|
|
||||||
}
|
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
'pretix.helpers.logs.RequestIdMiddleware',
|
'pretix.helpers.logs.RequestIdMiddleware',
|
||||||
'pretix.api.middleware.IdempotencyMiddleware',
|
'pretix.api.middleware.IdempotencyMiddleware',
|
||||||
|
|||||||
Reference in New Issue
Block a user