From e9e728c2122c760eff6b3838bba6b3e5db6a1aae Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 13 Apr 2007 01:01:57 +0000 Subject: [PATCH] Fixed #3786 -- Fixed sqlinitialdata references in some docs. Thanks, Ramiro Morales git-svn-id: http://code.djangoproject.com/svn/django/trunk@5004 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/django-admin.txt | 2 +- docs/model-api.txt | 4 ++-- docs/tutorial01.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/django-admin.txt b/docs/django-admin.txt index 52ee823cc3c..917569e1540 100644 --- a/docs/django-admin.txt +++ b/docs/django-admin.txt @@ -332,7 +332,7 @@ sqlall [appname appname ...] Prints the CREATE TABLE and initial-data SQL statements for the given appnames. -Refer to the description of ``sqlinitialdata`` for an explanation of how to +Refer to the description of ``sqlcustom`` for an explanation of how to specify initial data. sqlclear [appname appname ...] diff --git a/docs/model-api.txt b/docs/model-api.txt index 400617a0120..f1800c58a69 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1915,7 +1915,7 @@ Each SQL file, if given, is expected to contain valid SQL. The SQL files are piped directly into the database after all of the models' table-creation statements have been executed. -The SQL files are read by the ``sqlinitialdata``, ``sqlreset``, ``sqlall`` and +The SQL files are read by the ``sqlcustom``, ``sqlreset``, ``sqlall`` and ``reset`` commands in ``manage.py``. Refer to the `manage.py documentation`_ for more information. @@ -1924,7 +1924,7 @@ order in which they're executed. The only thing you can assume is that, by the time your custom data files are executed, all the database tables already will have been created. -.. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlinitialdata-appname-appname +.. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlcustom-appname-appname Database-backend-specific SQL data ---------------------------------- diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt index 0e857d09ca5..b29d7b813f9 100644 --- a/docs/tutorial01.txt +++ b/docs/tutorial01.txt @@ -382,7 +382,7 @@ If you're interested, also run the following commands: statements for this app. * ``python manage.py sqlall polls`` -- A combination of all the SQL from - the 'sql', 'sqlinitialdata', and 'sqlindexes' commands. + the 'sql', 'sqlcustom', and 'sqlindexes' commands. Looking at the output of those commands can help you understand what's actually happening under the hood.