summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-12-16 15:42:01 -0500
committerTim Graham <timograham@gmail.com>2012-12-16 15:42:01 -0500
commit72a6ac568d28afdfa5be6bcb01526adb03eedfae (patch)
tree46f89c3e736efd1dcada3f7022d554cc31a16245 /docs
parented711c4bd5fd3b6321cae00bbad0876295c5c537 (diff)
downloaddjango-72a6ac568d28afdfa5be6bcb01526adb03eedfae.tar.gz
Fixed #19279 - Clarified order of database setup and Django install.
Thanks colinnkeenan for the suggestion.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/install.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/docs/topics/install.txt b/docs/topics/install.txt
index b5573a8c4a..b71033f319 100644
--- a/docs/topics/install.txt
+++ b/docs/topics/install.txt
@@ -124,14 +124,16 @@ database bindings are installed.
* If you're using an unofficial 3rd party backend, please consult the
documentation provided for any additional requirements.
-If you plan to use Django's ``manage.py syncdb`` command to
-automatically create database tables for your models, you'll need to
-ensure that Django has permission to create and alter tables in the
-database you're using; if you plan to manually create the tables, you
-can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
-``DELETE`` permissions. On some databases, Django will need
-``ALTER TABLE`` privileges during ``syncdb`` but won't issue
-``ALTER TABLE`` statements on a table once ``syncdb`` has created it.
+If you plan to use Django's ``manage.py syncdb`` command to automatically
+create database tables for your models (after first installing Django and
+creating a project), you'll need to ensure that Django has permission to create
+and alter tables in the database you're using; if you plan to manually create
+the tables, you can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
+``DELETE`` permissions. On some databases, Django will need ``ALTER TABLE``
+privileges during ``syncdb`` but won't issue ``ALTER TABLE`` statements on a
+table once ``syncdb`` has created it. After creating a database user with these
+permissions, you'll specify the details in your project's settings file,
+see :setting:`DATABASES` for details.
If you're using Django's :doc:`testing framework</topics/testing>` to test
database queries, Django will need permission to create a test database.