I have a .py file in a directory , which is inside the Django project folder.
I have email settings in my settings.py, but this .py file does not import that file.
How can I specify to Django that settings.py should be used , so that I can use EmailMessage class with the settings that are in my settings.py?