The translation infrastructure cannot be initialized before the apps registry is ready
在nginx+uwsgi环境下运行django时,按照古老的教程来写出现了错误,错误出现在wsgi.py中,做如下修改:
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
而不是之前的WSGIHandler