fix a few multisync issues
This commit is contained in:
@@ -36,3 +36,10 @@ TASKS = {
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media_test") + "/"
|
||||
os.makedirs(MEDIA_ROOT, exist_ok=True)
|
||||
|
||||
# Remove debug_toolbar from installed apps and middleware to avoid NoReverseMatch errors when settings.DEBUG is False
|
||||
if "debug_toolbar" in INSTALLED_APPS:
|
||||
INSTALLED_APPS.remove("debug_toolbar")
|
||||
if "debug_toolbar.middleware.DebugToolbarMiddleware" in MIDDLEWARE:
|
||||
MIDDLEWARE.remove("debug_toolbar.middleware.DebugToolbarMiddleware")
|
||||
|
||||
|
||||
|
||||
+180
-180
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user