Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1886 -- documented the syncdb option.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 87709d3fa57114270accbd29370b1c3f27442300 1 parent 8632f8a
Malcolm Tredinnick authored May 19, 2006

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. 15  docs/django-admin.txt
15  docs/django-admin.txt
@@ -262,6 +262,21 @@ startproject [projectname]
262 262
 Creates a Django project directory structure for the given project name in the
263 263
 current directory.
264 264
 
  265
+syncdb
  266
+------
  267
+
  268
+Creates the database tables for all apps in INSTALLED_APPS whose tables
  269
+have not already been created.
  270
+
  271
+This is the command to use when you have added new applications to your
  272
+project and want to install them in the database. This includes any
  273
+applications shipped with Django that might be in INSTALLED_APPS by default.
  274
+When you start a new project, run this command to install the default apps.
  275
+
  276
+If you are installing the ``django.contrib.auth`` application, ``sycndb`` will
  277
+give you the option of creating a superuser immediately, which will permit you
  278
+to log into the admin interface, for example, when the time comes.
  279
+
265 280
 validate
266 281
 --------
267 282
 

0 notes on commit 87709d3

Please sign in to comment.
Something went wrong with that request. Please try again.