Answer the question
In order to leave comments, you need to log in
Error 500 on django admin, what could it be?
Hello. There was a problem, I moved the site to vps (ubuntu, apache, wsgi). The site works, the login to the admin panel works, but after entering the login and password, it redirects to the page /admin/login/?next=/admin/ and the server causes an error 500. The errors contain the following lines:
'PATH_TRANSLATED': '/var/www/ azur/azur/wsgi.py/admin/login/',
'QUERY_STRING': 'next=/admin/',
'REMOTE_ADDR': '89.107.37.239',
'REMOTE_PORT': '49443',
'REQUEST_METHOD': 'POST ',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/admin/login/?next=/admin/',
'SCRIPT_FILENAME': '/var/www/azur/azur/wsgi.py',
'SCRIPT_NAME' : u'',
'
Answer the question
In order to leave comments, you need to log in
Today seems to be the day of 500 errors in django
Look here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question