0👍
✅
I didn’t know I have to reload config. So rhc app reload -a $your_app
did the trick. And may be this line as well: sys.path.append(os.path.join(os.environ['OPENSHIFT_REPO_DIR'], 'wsgi'))
. Thanks bezidejni for help, pointing out enabling debug is useful as well 🙂
1👍
Read this blog post
http://appsembler.com/blog/django-deployment-using-openshift/
it has the best explanation of bringing up a django application on OpenShift
- [Answer]-Add optional fields to django's built-in comments app
- [Answer]-Django Postgres database records reordering
- [Answer]-Not returning ajax response?
- [Answer]-Why does my Django form is_valid() return false?
- [Answer]-Relation "comparison_bundle" does not exist LINE 1: SELECT COUNT(*) FROM "comparison_bundle"
Source:stackexchange.com