add automatic local_settings generation if SECRET_KEY Not set
add PROJECT_ROOT global variable