Code

Opened 7 years ago

Closed 7 years ago

#3802 closed (duplicate)

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

Reported by: jon.i.austin@… Owned by: jacob
Component: Documentation Version: master
Severity: Keywords: sqlinitialdata sqlcustomdata
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (0)

Change History (3)

comment:1 Changed 7 years ago by jon.i.austin@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 7 years ago by jon.i.austin@…

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

comment:3 Changed 7 years ago by Gary Wilson <gary.wilson@…>

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #3786.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.