Want to know django console proper settings.

Hi, I want to know django console proper settings.

This is the proejct structure:

root
├mysite
│└config
│  ├settings.py
│  └my_script.py
└other_contents

Then in the django console, I want to call the config/my_script.py by import statement by `from config import my_script` but I can't.
only `from mysite.config import my_script` works.

So I want to know how I can configure Django Console Settings?

My "Build, Execution, Deployment > Console -> Django Console" settings are:
Envirioment variables: DJANGO_SETTINGS_MODULE=config.settings
Working Directory: D:\...\mysite


regards,

0

Please sign in to leave a comment.