Django

Code

Ticket #3802 (closed: duplicate)

Opened 2 years ago

Last modified 2 years ago

sqlinitialdata referenced in django-admin docs, but not actually defined anywhere

Reported by: jon.i.austin@gmail.com Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords: sqlinitialdata sqlcustomdata
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

from looking at command output of django-admin.py it appears to have been renamed sqlcustom -- however this renaming has not been updated in the documentation where 'sqlinitialdata' is referenced by other commands.

The definition of sqlcustom in fact references sqlinitialdata:

'For example, if you have an app news that includes a Story model, sqlinitialdata will attempt to read a file news/sql/story.sql and append it to the output of this command.'

Attachments

Change History

03/24/07 11:01:07 changed by jon.i.austin@gmail.com

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

oops - the second keyword should be 'sqlcustom' not 'sqlcustomdata'

03/24/07 11:03:15 changed by jon.i.austin@gmail.com

sqlinitialdata is also used in the model-api docs ("http://www.djangoproject.com/documentation/model-api")

03/24/07 13:04:57 changed by Gary Wilson <gary.wilson@gmail.com>

  • status changed from new to closed.
  • resolution set to duplicate.

dup of #3786.


Add/Change #3802 (sqlinitialdata referenced in django-admin docs, but not actually defined anywhere)




Change Properties
Action