Documentation version: 1.7
Section: Writing your first Django app, part 1
Subsection: Database setup
paragraph-2:
"By default, the configuration uses SQLite."
--- The above line is confusing. It suggests
that by doing nothing to settings.py the
sqlite3 database will be used, when actually
'ENGINE' must be set to django.db.backends.sqlite3
and 'NAME' must be set to something.
My suggested wording for this paragraph is:
" The simplest database to use is SQLite.
If you're new to databases, or you're just interested in
trying Django,
this is the easiest choice. SQLite is included in Python,
so you won't need to install anything else to support your
database.
To specify SQLite, you must edit settings.py and set 'ENGINE'
to
'django.db.backends.sqlite3'. You must also set 'NAME' to
some value,
for example, 'myName'."
--
Ticket URL: <https://code.djangoproject.com/ticket/23648>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Since version 1.6, new projects created by ./manage.py startproject have
ENGINE set to 'django.db.backends.sqlite3' in their settings.py. By doing
nothing to settings.py the sqlite3 database will be used.
--
Ticket URL: <https://code.djangoproject.com/ticket/23648#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
Hello and welcome to Django!
As Collin mentionned, starting from the version 1.6 of Django, the
settings file for new projects contains a fully functional setup of sqlite
out of the box.
Therefore I think the documentation is correct so I'm going to mark this
ticket as `invalid`.
If you think we've misunderstood your point, feel free to reopen this
ticket.
Thanks for your insight.
--
Ticket URL: <https://code.djangoproject.com/ticket/23648#comment:2>