Opened 18 years ago
Closed 18 years ago
#3802 closed (duplicate)
sqlinitialdata referenced in django-admin docs, but not actually defined anywhere
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | sqlinitialdata sqlcustomdata | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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.'
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
sqlinitialdata is also used in the model-api docs ("http://www.djangoproject.com/documentation/model-api")
oops - the second keyword should be 'sqlcustom' not 'sqlcustomdata'