Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#12619 closed (fixed)

django-admin's testserver doesn't support --noinput

Reported by: Wil Clouser Owned by: nobody
Component: Core (Management commands) Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm trying to run the testserver in a script without user input, but apparently --noinput isn't supported for the testserver subcommand.

Steps to reproduce:

django-admin.py testserver --noinput

Actual Results:

/django-admin.py: error: no such option: --noinput

Expected Results:

Run the testserver with reasonable default answers to questions.

Attachments (1)

testserver_noinput.patch (1.7 KB ) - added by Rolando Espinoza La fuente 15 years ago.
adds --noinput option to testserver command and updates docs

Download all attachments as: .zip

Change History (6)

comment:1 by Russell Keith-Magee, 15 years ago

Triage Stage: UnreviewedAccepted

comment:2 by anonymous, 15 years ago

Is there a work-around for this? I can't figure out how to implement automated testing with selenium without this option.

by Rolando Espinoza La fuente, 15 years ago

Attachment: testserver_noinput.patch added

adds --noinput option to testserver command and updates docs

comment:3 by Russell Keith-Magee, 15 years ago

Has patch: set
milestone: 1.3
Triage Stage: AcceptedReady for checkin

Patch looks good; we can apply this once the 1.3 branch opens for development.

comment:4 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: newclosed

(In [13365]) Fixed #12619 -- Added support for the --noinput flag to testserver. Thanks to clouserw for the suggestion, and darkrho for the patch.

comment:5 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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