feat: print $DJANGO_SETTINGS_MODULE when it's needed
This commit is contained in:
parent
63b4b60f9a
commit
251826c048
|
@ -7,7 +7,10 @@ use std::fs::create_dir;
|
|||
use std::path::{Path, PathBuf};
|
||||
|
||||
fn get_django_settings_module() -> Result<String> {
|
||||
Ok(env::var("DJANGO_SETTINGS_MODULE")?)
|
||||
let dsm = env::var("DJANGO_SETTINGS_MODULE")?;
|
||||
println!("USING: {dsm}");
|
||||
|
||||
Ok(dsm)
|
||||
}
|
||||
|
||||
pub fn make_command(app: &PathBuf, name: &str) -> Result<()> {
|
||||
|
|
Loading…
Reference in New Issue