Skip to content

pythonanywhere configuration #48

@geomajor56

Description

@geomajor56

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions