inspectdb should give hint on the need to run sqlinitialdata
Reported by: |
hugo <gb@…> |
Owned by: |
Adrian Holovaty |
Component:
|
Tools
|
Version:
|
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Unreviewed
|
Has patch:
|
no
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
For a model that was built by inspectdb to work you need to execute the statements given by sqlinitialdata. Maybe inspectdb should just output a python comment in the model source that hint's on this fact, so that users don't forget to run the statements.
Change History
(2)
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
(In [401]) Fixed #263 -- inspectdb output now includes a comment reminding people to run sqlinitialdata. Thanks, Hugo