Opened 17 years ago

Closed 17 years ago

#7092 closed (wontfix)

"shell" command should accept arguments

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

Description

For the sake of making utility scripts easy to run (without having to fuss with PYTHONPATH), it would be nice if "manage.py shell" would accept arguments in the same way as running "python"

eg:

./manage.py shell import-sample-data.py

Currently this just outputs "Error: Command doesn't accept any arguments" (though "./manage.py shell --version" works)

An alternative would be to provide something more explicit, like "./manage.py runscript"

Change History (1)

comment:1 by tomvons@…, 17 years ago

Resolution: wontfix
Status: newclosed

Seems this has come up before and there isn't much interest in doing it. Closing it.

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