Hey! I am running an app in Pycharm on Windows and want to run Pytest.
I keep getting this error while trying to run Pytest.
`rentalApp\conftest.py:21: in <module>
from .models import Rental, Reservation
rentalApp\models.py:8: in <module>
class Rental(models.Model):
........\AppData\Local\Programs\Python\Python37\lib\site-packages\django\db\models\base.py:108: in new
app_config = apps.get_containing_app_config(module)
........\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\registry.py:253: in get_containing_app_config
self.check_apps_ready()
........\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\registry.py:135: in check_apps_ready
settings.INSTALLED_APPS
........\AppData\Local\Programs\Python\Python37\lib\site-packages\django\conf_init_.py:82: in getattr
self.setup(name)
........\AppData\Local\Programs\Python\Python37\lib\site-packages\django\conf_init.py:67: in _setup
% (desc, ENVIRONMENT_VARIABLE))
E django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Process finished with exit code 4
Empty suite
`