Opened 17 years ago
Closed 16 years ago
#6551 closed (fixed)
improve Database setup section on tutorial
Reported by: | hvelarde | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | 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
I'm using Windows and SQLite and for me it was quite confusing to read: "DATABASE_NAME — The name of your database, or the full (absolute) path to the database file if you’re using SQLite".
first, I was using a path name only, without the file name (c:\temp
).
then I was using backslashes (c:\temp\temp.sql
) instead of slashes (c:/temp/temp.sql
).
it would be great if you can clarify this on that section.
thanks!
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
On a similar note, I've worked with some Windows developers that didn't notice the specific need for a filename here. Lack of a filename (empty string) still allows syncdb to run without error. The only problem is, subsequent calls to try to access the models throws an exception since the tables do not exist. There should be a check to validate that a valid filename or :memory: is given, although the latter doesn't seem to provide much usefulness
comment:3 by , 17 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Perhaps adding "(including file name)" to the comment would make it slightly more clear:
However, this still leaves room for confusion by those that are unfamiliar with sqlite3 and it doesn't add any useful information for those who know how to use sqlite3.