1๐
I got the same problem: Not getting the Template Repository Layout after deploying Python 2.7 on openshift
After inspecting the Apache configuration on the server, I found that wsgi/static
is still served statically by Apache. So I simply did this in my repo:
mkdir wsgi
cd wsgi
ln -s ../mypackage/static
In addition you can add the following line your build hook to serve the media files
if [ ! -d $OPENSHIFT_DATA_DIR/media ]; then
mkdir $OPENSHIFT_DATA_DIR/media
fi
ln -sf $OPENSHIFT_DATA_DIR/media $OPENSHIFT_REPO_DIR/wsgi/static/media
๐คGuillaume
Source:stackexchange.com