Собственно появилась другая проблема. Проблема с моим файлом wsgi
Сервер отвечает 500 ошибкой вот так
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@mshome.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
В логах об ошибках
Traceback (most recent call last):
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 241, in __call__
response = self.get_response(request)
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 143, in get_response
return self.handle_uncaught_exception(request, resolver, exc_info)
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 167, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "C:\\server\\python\\lib\\site-packages\\django\\views\\debug.py", line 56, in technical_500_response
html = reporter.get_traceback_html()
File "C:\\server\\python\\lib\\site-packages\\django\\views\\debug.py", line 119, in get_traceback_html
'exception_value': smart_unicode(self.exc_value, errors='replace'),
File "C:\\server\\python\\lib\\site-packages\\django\\utils\\encoding.py", line 44, in smart_unicode
return force_unicode(s, encoding, strings_only, errors)
File "C:\\server\\python\\lib\\site-packages\\django\\utils\\encoding.py", line 92, in force_unicode
raise DjangoUnicodeDecodeError(s, *e.args)
DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 47: ordinal not in range(128). You passed in ImproperlyConfigured('Error loading MySQLdb module: DLL load failed: \\xcd\\xe5 \\xed\\xe0\\xe9\\xe4\\xe5\\xed \\xf3\\xea\\xe0\\xe7\\xe0\\xed\\xed\\xfb\\xe9 \\xec\\xee\\xe4\\xf3\\xeb\\xfc.',) (<class 'django.core.exceptions.ImproperlyConfigured'>)
mod_wsgi (pid=892): Exception occurred processing WSGI script 'D:/djproject/iris/mod.wsgi'.
Traceback (most recent call last):
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 241, in __call__
response = self.get_response(request)
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 143, in get_response
return self.handle_uncaught_exception(request, resolver, exc_info)
File "C:\\server\\python\\lib\\site-packages\\django\\core\\handlers\\base.py", line 167, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "C:\\server\\python\\lib\\site-packages\\django\\views\\debug.py", line 56, in technical_500_response
html = reporter.get_traceback_html()
File "C:\\server\\python\\lib\\site-packages\\django\\views\\debug.py", line 119, in get_traceback_html
'exception_value': smart_unicode(self.exc_value, errors='replace'),
File "C:\\server\\python\\lib\\site-packages\\django\\utils\\encoding.py", line 44, in smart_unicode
return force_unicode(s, encoding, strings_only, errors)
File "C:\\server\\python\\lib\\site-packages\\django\\utils\\encoding.py", line 92, in force_unicode
raise DjangoUnicodeDecodeError(s, *e.args)
DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 47: ordinal not in range(128). You passed in ImproperlyConfigured('Error loading MySQLdb module: DLL load failed: \\xcd\\xe5 \\xed\\xe0\\xe9\\xe4\\xe5\\xed \\xf3\\xea\\xe0\\xe7\\xe0\\xed\\xed\\xfb\\xe9 \\xec\\xee\\xe4\\xf3\\xeb\\xfc.',) (<class 'django.core.exceptions.ImproperlyConfigured'>)
Сам mod.wsgi
# -*- coding: utf-8 -*-
import os, sys
sys.path.append('D:/djproject')
os.environ['DJANGO_SETTINGS_MODULE'] = 'iris.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Делаю по документации в djangoproject… Что не так делаю - не понятно…