[Django]-Python script not working with django shell

4👍

Use exec(open("utility_folder/load_users.py").read()) into the shell instead of python3 manage.py shell < utility_folder/load_users.py.

👤Ruben

Leave a comment