diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-19 04:12:16 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2006-05-19 04:12:16 +0000 |
| commit | 87709d3fa57114270accbd29370b1c3f27442300 (patch) | |
| tree | 168f4f9573a7ff306655128e5c945afe3c1849cc /docs/django-admin.txt | |
| parent | 8632f8ac4ab427557a58300e243ccdb84859652a (diff) | |
Fixed #1886 -- documented the syncdb option.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/django-admin.txt')
| -rw-r--r-- | docs/django-admin.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt index 4c8f459189..19abbed626 100644 --- a/docs/django-admin.txt +++ b/docs/django-admin.txt @@ -262,6 +262,21 @@ startproject [projectname] Creates a Django project directory structure for the given project name in the current directory. +syncdb +------ + +Creates the database tables for all apps in INSTALLED_APPS whose tables +have not already been created. + +This is the command to use when you have added new applications to your +project and want to install them in the database. This includes any +applications shipped with Django that might be in INSTALLED_APPS by default. +When you start a new project, run this command to install the default apps. + +If you are installing the ``django.contrib.auth`` application, ``sycndb`` will +give you the option of creating a superuser immediately, which will permit you +to log into the admin interface, for example, when the time comes. + validate -------- |
