Ticket #3786: sqlinitialdata2.diff

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

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

  • docs/django-admin.txt

    diff -rN -u old-sqlinitialdata/docs/django-admin.txt new-sqlinitialdata/docs/django-admin.txt
    old new  
    332332
    333333Prints the CREATE TABLE and initial-data SQL statements for the given appnames.
    334334
    335 Refer to the description of ``sqlinitialdata`` for an explanation of how to
     335Refer to the description of ``sqlcustom`` for an explanation of how to
    336336specify initial data.
    337337
    338338sqlclear [appname appname ...]
  • docs/model-api.txt

    diff -rN -u old-sqlinitialdata/docs/model-api.txt new-sqlinitialdata/docs/model-api.txt
    old new  
    19151915piped directly into the database after all of the models' table-creation
    19161916statements have been executed.
    19171917
    1918 The SQL files are read by the ``sqlinitialdata``, ``sqlreset``, ``sqlall`` and
     1918The SQL files are read by the ``sqlcustom``, ``sqlreset``, ``sqlall`` and
    19191919``reset`` commands in ``manage.py``. Refer to the `manage.py documentation`_
    19201920for more information.
    19211921
     
    19241924time your custom data files are executed, all the database tables already will
    19251925have been created.
    19261926
    1927 .. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlinitialdata-appname-appname
     1927.. _`manage.py documentation`: http://www.djangoproject.com/documentation/django_admin/#sqlcustom-appname-appname
    19281928
    19291929Database-backend-specific SQL data
    19301930----------------------------------
  • docs/tutorial01.txt

    diff -rN -u old-sqlinitialdata/docs/tutorial01.txt new-sqlinitialdata/docs/tutorial01.txt
    old new  
    382382      statements for this app.
    383383
    384384    * ``python manage.py sqlall polls`` -- A combination of all the SQL from
    385       the 'sql', 'sqlinitialdata', and 'sqlindexes' commands.
     385      the 'sql', 'sqlcustom', and 'sqlindexes' commands.
    386386
    387387Looking at the output of those commands can help you understand what's actually
    388388happening under the hood.
Back to Top