Not working in PythonAnywhere or Heroku servers (bad project.db path)
fp4code opened this issue · comments
fp4code commented
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.
Iacopo Spalletti commented
@fp4code you can pass the --database-url
argument to adapt the database path to whatever is needed for your setup