Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 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.

Attachments (0)

Change History (4)

comment:1 Changed 8 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 8 years ago by dev@…

  • Cc dev@… added

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

comment:3 Changed 8 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 8 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.

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.