SerraKD / cine-frights

Cine Frights Is a horror movie review blog created for CI Portfolio Project 4.
https://cine-frights-ed31240ece67.herokuapp.com/
0 stars 2 forks source link

Bug: ImproperlyConfigured #21

Closed SerraKD closed 4 months ago

SerraKD commented 4 months ago

Description: File "/workspace/cine-frights/frights/models.py", line 3, in from django.contrib.auth.models import User File "/workspace/cine-frights/frights/views.py", line 4, in from models import Movie, Comment 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.

Fix:

All Commits Regarding to app change:

SerraKD commented 4 months ago

Bug fix completed with the last commit: remove frights path from imports in admin.py(https://github.com/SerraKD/cine-frights/commit/74b3aa9ec7c59f9e5c15e509046fd14eb3c8b08b)