fixing settings
merge from origin/gen_v3, add wsgi.py, change settings.py.