Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2752 closed enhancement (fixed)

"manage.py reset" should honor the "--noinput" option

Reported by: HolgerSchurig Owned by: adrian
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: dev@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Like ./manage.py syncdb now honors --noinput, this should also be done for the "reset" method so that it doesn't prompt for the "yes/no" input any more.

Change History (4)

comment:1 Changed 9 years ago by adrian

  • Summary changed from ./manage.py reset should honow --noinput to "manage.py reset" should honor the "--noinput" option

Changed summary.

comment:2 Changed 9 years ago by dev@…

  • Cc dev@… added

Shouldn't a method which destroys data require a confirmation?

comment:3 Changed 9 years ago by HolgerSchurig

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

This feature request has been implemented by changeset #3888. Please close this bug.

comment:4 Changed 9 years ago by ubernostrum

Responding to dev@simon: the default is still "interactive" mode, but for people who want to do automated setup/teardown/reset of testing installations, it'll probably be helpful that they can now do --noinput or interactive=False in order to programmatically call the reset function.

Note: See TracTickets for help on using tickets.
Back to Top