Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#434 closed defect (worksforme)

Does runserver takes 2 arguments?

Reported by: Leo Shklovskii Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords: runserver
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


After update django today (2005.8.30), when I type " runserver --settings=myproject.settings.main". I got this error message "TypeError: runserver() takes exactly 2 arguments (1 given)", while with it's help, I got ""options:

-h, --help show this help message and exit
--settings=SETTINGS Python path to settings module, e.g.

"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be

show should i start my server?

Change History (2)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: worksforme
Status: newclosed runserver --settings=myproject.settings.main should work.

Please don't use the ticket system for support questions -- only for bugs and feature requests. Go to the mailing lists or IRC for support.

comment:2 Changed 13 years ago by anonymous

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