elamont174 / catscoffeecovers

0 stars 0 forks source link

BUG: Error message when deploying back-end #24

Closed elamont174 closed 1 hour ago

elamont174 commented 2 hours ago

After deploying the back-end of the project showed a 400 Error.

Currently checking settings.py and urls.py for bug

Image

elamont174 commented 1 hour ago

Upon searching and discussion with my mentor, it was decided that it must be an issue with ALLOWED_HOST and/or DEBUG. I changed DEBUG to True and made sure that my ALLOWED_HOSTS were correct. I then realised that I had changed two variables so went back and changed DEBUG back to 'DEV' in os.environ and it still worked.