Serving Django static files in OpenShift

2019-02-17 04:58发布

According to the March 2014 blog post, OpenShift now got rid of some directories like wsgi/, wsgi/static/, data/ and libs/.

Given I used wsgi/static for this purpose, how I am supposed to serve django static files from now on?

1条回答
你好瞎i
2楼-- · 2019-02-17 05:03

According to openshift.conf.erb, it seems like it checks if you have a $OPENSHIFT_REPO_DIR/wsgi/static directory and it keeps it working. I haven't verified that this works, but it looks like it should.

查看更多
登录 后发表回答