Answer the question
In order to leave comments, you need to log in
Why can there be 500 internal server error after installing django-cors-headers?
Hello!
I uploaded it to the combat server via pip dajngo-corsheaders.
Added to settings.py in INSTALLED_APPS and in MIDDLEWARE_CLASSES the corresponding entries.
I restarted uwsgi (at that moment the virtual environment was active)
Now when I access the site I get 500 internal server erorr I
don’t see anything in the nginx logs ((
Removed cors-headers via pip and returned settings.py to the current state. Restarted uwsgi, server, by still getting 500
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question