./manage.py reset fails if app does not define models
|Reported by:||miracle2k||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
./manage.py reset fails with an obscure IndexError if an app does not define models.
There seems to be no strong reason why it should fail though, and in fact the problem is a line in core/management/sql.py that doesn't seem to have any effect at all anyway (see patch).
Change History (6)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|