Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in PythonAnywhere or Heroku servers (bad project.db path) #386

Open
fp4code opened this issue May 18, 2021 · 1 comment
Open

Comments

@fp4code
Copy link

fp4code commented May 18, 2021

Description

On PythonAnywhere or Heroku servers the working directory is the home. BASE_DIR should be prepended to project.db NAME path.

Steps to reproduce

See https://stackoverflow.com/questions/56283143/django-cms-error-cms-urlconfrevision-on-deployment
and https://django-cmsworkspace.slack.com/archives/C01EBCEK49E/p1621336250002400 for examples.

@yakky
Copy link
Member

yakky commented Jul 17, 2021

@fp4code you can pass the --database-url argument to adapt the database path to whatever is needed for your setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants