Opened 19 years ago
Closed 17 years ago
#150 closed defect (fixed)
Should put a notice to set an *absolute path', in the DATABASE_NAME variable if using sqlite3
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If you don't put an absolute path in the DATABASE_NAME variable in the settings/main.py file, Django works but erratically, as it will not always find the database as it's dependent on its running location.
There should be warning on *always* setting an absolute path there!
Note:
See TracTickets
for help on using tickets.
Current settings docs state this should be the "full path" to the file, so I'm closing this as fixed.