| 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. | 
          
          
            |   | 127 | If you plan to use Django's ``manage.py syncdb`` command to automatically | 
          
          
            |   | 128 | create database tables for your models (after first installing Django and | 
          
          
            |   | 129 | creating a project), you'll need to ensure that Django has permission to create | 
          
          
            |   | 130 | and alter tables in the database you're using; if you plan to manually create | 
          
          
            |   | 131 | the tables, you can simply grant Django ``SELECT``, ``INSERT``, ``UPDATE`` and | 
          
          
            |   | 132 | ``DELETE`` permissions. On some databases, Django will need ``ALTER TABLE`` | 
          
          
            |   | 133 | privileges during ``syncdb`` but won't issue ``ALTER TABLE`` statements on a | 
          
          
            |   | 134 | table once ``syncdb`` has created it. After creating a database user with these | 
          
          
            |   | 135 | permissions, you'll specify the details in your project's settings file, | 
          
          
            |   | 136 | see :setting:`DATABASES` for details. |