fixed wsgi for django 1.7

compatible with django 1.4+