Opened 16 years ago

Closed 16 years ago

#7605 closed (fixed)

Creating SQLite database instruction should be explicit

Reported by: pfctdayelise 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

At tutorial01 under "Database setup", it says "DATABASE_NAME — The name of your database, or the full (absolute) path to the database file if you’re using SQLite." Implicit seems to be the statement 'make up a file name here and when you run syncdb Django will create the sqlite database at that file name'. (ie, you don't need to use sqlite to create that database beforehand)

Having this statement explicit, maybe with an example file name (django.db? mysite.sql? sqlite.txt?) would be helpful.
I went through this page of the tutorial without putting a value in DATABASE_NAME and it had the effect of asking me to create a super user everytime I did 'python manage.py syncdb'. (As opposed to if you have a value there, you only get asked the first time)

Change History (2)

comment:1 by Sung-jin Hong, 16 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [7917]) Fixed #7605 -- Added a note about SQLite database creation to Tutorial 1. Thanks to pfctdayelise for the suggestion.

Note: See TracTickets for help on using tickets.
Back to Top