arocks/edge

pythonanywhere configuration

Open

#48 建立於 2015年10月21日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)HTML (835 star) (251 fork)batch import
help wanted

描述

I'm fairly new to Django and deploying anything really, so please forgive my ignorance. I'm trying to get your template up and running on pythonanywhere as per your installation in the docs, but get an error:

ImportError: No module named 'cdp_proj.settings'

part of wsgi.py: import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cdp_proj.settings.production")

Plus I'm not sure how to handle the static files. pythonanywhere has its own configuration and I'm not sure if I should ignore it since your settings seems to handle it

Any guidance in regards to seeting up edge on pythonanywhere would be great.

thanks in advance,

Michael p.s. bought your book, very well written as it's very readable to a beginner like me, very rare

貢獻者指南