M
M
MaxEpt2020-04-27 13:31:43
Django
MaxEpt, 2020-04-27 13:31:43

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

1 answer(s)
M
MaxEpt, 2020-04-27
@MaxEpt

In general, the matter turned out to be that pip updated the version of jung. and everything broke

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question