Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我听说 Django 静态文件应该直接从 Web 服务器部署,而不是通过 Django 本身。我正在使用 mod_wsgi——有人知道我将如何配置它来为我的 django 静态文件提供服务吗?
看:
https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#serving-the-admin-files http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango