profile
viewpoint

Ask questionsNot working in PythonAnywhere or Heroku servers (bad project.db path)

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.

nephila/djangocms-installer

Answer questions yakky

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

useful!

Related questions

No questions were found.
source:https://uonfu.com/
answerer
Iacopo Spalletti yakky Nephila Firenze, London, Zürich https://sleepy.yaks.industries/ Founder/CTO @nephila - django CMS core developer - Passionate Django developer. When not coding, you'll find me on the stool of the local pub.
Github User Rank List