mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
ebfa5b0406
commit
e9e728c212
|
@ -332,7 +332,7 @@ sqlall [appname appname ...]
|
||||||
|
|
||||||
Prints the CREATE TABLE and initial-data SQL statements for the given appnames.
|
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.
|
specify initial data.
|
||||||
|
|
||||||
sqlclear [appname appname ...]
|
sqlclear [appname appname ...]
|
||||||
|
|
|
@ -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
|
piped directly into the database after all of the models' table-creation
|
||||||
statements have been executed.
|
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`_
|
``reset`` commands in ``manage.py``. Refer to the `manage.py documentation`_
|
||||||
for more information.
|
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
|
time your custom data files are executed, all the database tables already will
|
||||||
have been created.
|
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
|
Database-backend-specific SQL data
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
|
@ -382,7 +382,7 @@ If you're interested, also run the following commands:
|
||||||
statements for this app.
|
statements for this app.
|
||||||
|
|
||||||
* ``python manage.py sqlall polls`` -- A combination of all the SQL from
|
* ``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
|
Looking at the output of those commands can help you understand what's actually
|
||||||
happening under the hood.
|
happening under the hood.
|
||||||
|
|
Loading…
Reference in New Issue