def patch_staticfiles(): settings.STATICFILES_DIRS += ( os.path.join(BASE_DIR, 'django_executor', 'staticfiles'), ) # Add DJANGO_EXECUTOR_CONFIG to root settings