Ticket #19279: 19279.diff

File 19279.diff, 1.7 KB (added by Tim Graham, 11 years ago)
  • docs/topics/install.txt

    diff --git a/docs/topics/install.txt b/docs/topics/install.txt
    index b5573a8..b71033f 100644
    a b database bindings are installed.  
    124124* If you're using an unofficial 3rd party backend, please consult the
    125125  documentation provided for any additional requirements.
    126126
    127 If you plan to use Django's ``manage.py syncdb`` command to
    128 automatically create database tables for your models, you'll need to
    129 ensure that Django has permission to create and alter tables in the
    130 database you're using; if you plan to manually create the tables, you
    131 can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
    132 ``DELETE`` permissions. On some databases, Django will need
    133 ``ALTER TABLE`` privileges during ``syncdb`` but won't issue
    134 ``ALTER TABLE`` statements on a table once ``syncdb`` has created it.
     127If you plan to use Django's ``manage.py syncdb`` command to automatically
     128create database tables for your models (after first installing Django and
     129creating a project), you'll need to ensure that Django has permission to create
     130and alter tables in the database you're using; if you plan to manually create
     131the tables, you can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and
     132``DELETE`` permissions. On some databases, Django will need ``ALTER TABLE``
     133privileges during ``syncdb`` but won't issue ``ALTER TABLE`` statements on a
     134table once ``syncdb`` has created it. After creating a database user with these
     135permissions, you'll specify the details in your project's settings file,
     136see :setting:`DATABASES` for details.
    135137
    136138If you're using Django's :doc:`testing framework</topics/testing>` to test
    137139database queries, Django will need permission to create a test database.
Back to Top