arocks/edge

pythonanywhere configuration

开放

#48 创建于 2015年10月21日

 (2 条评论) (0 个反应) (0 位负责人)HTML (237 个派生)batch import
help wanted

仓库指标

星标
 (832 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南