Nasty Config Issue for Django and SQLite 3
Was getting the following errors (alternately, depending on permissions settings):
Enjoy!
- "Unable to Open Database File"
- "Unable to Write to Database File"
import os.path PROJECT_DIR = os.path.dirname(__file__) DATABASE_NAME = os.path.join(PROJECT_DIR, "database.db")