Code

Ticket #19279: 19279.diff

File 19279.diff, 1.7 KB (added by timo, 16 months ago)
Line 
1diff --git a/docs/topics/install.txt b/docs/topics/install.txt
2index b5573a8..b71033f 100644
3--- a/docs/topics/install.txt
4+++ b/docs/topics/install.txt
5@@ -124,14 +124,16 @@ database bindings are installed.
6 * If you're using an unofficial 3rd party backend, please consult the
7   documentation provided for any additional requirements.
8 
9-If you plan to use Django's ``manage.py syncdb`` command to
10-automatically create database tables for your models, you'll need to
11-ensure that Django has permission to create and alter tables in the
12-database you're using; if you plan to manually create the tables, you
13-can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
14-``DELETE`` permissions. On some databases, Django will need
15-``ALTER TABLE`` privileges during ``syncdb`` but won't issue
16-``ALTER TABLE`` statements on a table once ``syncdb`` has created it.
17+If you plan to use Django's ``manage.py syncdb`` command to automatically
18+create database tables for your models (after first installing Django and
19+creating a project), you'll need to ensure that Django has permission to create
20+and alter tables in the database you're using; if you plan to manually create
21+the tables, you can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
22+``DELETE`` permissions. On some databases, Django will need ``ALTER TABLE``
23+privileges during ``syncdb`` but won't issue ``ALTER TABLE`` statements on a
24+table once ``syncdb`` has created it. After creating a database user with these
25+permissions, you'll specify the details in your project's settings file,
26+see :setting:`DATABASES` for details.
27 
28 If you're using Django's :doc:`testing framework</topics/testing>` to test
29 database queries, Django will need permission to create a test database.