Code

Ticket #3786: sqlinitialdata2.diff

File sqlinitialdata2.diff, 2.2 KB (added by Ramiro Morales, 7 years ago)

New diff with of another s/sqlinitialdata/sqlcustom/ replacement, this time in model-api.txt

Line 
1diff -rN -u old-sqlinitialdata/docs/django-admin.txt new-sqlinitialdata/docs/django-admin.txt
2--- old-sqlinitialdata/docs/django-admin.txt    2007-04-10 07:11:15.000000000 -0300
3+++ new-sqlinitialdata/docs/django-admin.txt    2007-04-10 07:11:16.000000000 -0300
4@@ -332,7 +332,7 @@
5 
6 Prints the CREATE TABLE and initial-data SQL statements for the given appnames.
7 
8-Refer to the description of ``sqlinitialdata`` for an explanation of how to
9+Refer to the description of ``sqlcustom`` for an explanation of how to
10 specify initial data.
11 
12 sqlclear [appname appname ...]
13diff -rN -u old-sqlinitialdata/docs/model-api.txt new-sqlinitialdata/docs/model-api.txt
14--- old-sqlinitialdata/docs/model-api.txt       2007-04-10 07:11:15.000000000 -0300
15+++ new-sqlinitialdata/docs/model-api.txt       2007-04-10 07:11:16.000000000 -0300
16@@ -1915,7 +1915,7 @@
17 piped directly into the database after all of the models' table-creation
18 statements have been executed.
19 
20-The SQL files are read by the ``sqlinitialdata``, ``sqlreset``, ``sqlall`` and
21+The SQL files are read by the ``sqlcustom``, ``sqlreset``, ``sqlall`` and
22 ``reset`` commands in ``manage.py``. Refer to the `manage.py documentation`_
23 for more information.
24 
25@@ -1924,7 +1924,7 @@
26 time your custom data files are executed, all the database tables already will
27 have been created.
28 
29-.. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlinitialdata-appname-appname
30+.. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlcustom-appname-appname
31 
32 Database-backend-specific SQL data
33 ----------------------------------
34diff -rN -u old-sqlinitialdata/docs/tutorial01.txt new-sqlinitialdata/docs/tutorial01.txt
35--- old-sqlinitialdata/docs/tutorial01.txt      2007-04-10 07:11:15.000000000 -0300
36+++ new-sqlinitialdata/docs/tutorial01.txt      2007-04-10 07:11:16.000000000 -0300
37@@ -382,7 +382,7 @@
38       statements for this app.
39 
40     * ``python manage.py sqlall polls`` -- A combination of all the SQL from
41-      the 'sql', 'sqlinitialdata', and 'sqlindexes' commands.
42+      the 'sql', 'sqlcustom', and 'sqlindexes' commands.
43 
44 Looking at the output of those commands can help you understand what's actually
45 happening under the hood.
46