Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#434 closed defect (worksforme)

Does runserver takes 2 arguments?

Reported by: Leo Owned by: adrian
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:

Description

After update django today (2005.8.30), when I type "django-admin.py 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
used."

show should i start my server?

Change History (2)

comment:1 Changed 10 years ago by adrian

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

django-admin.py 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 10 years ago by anonymous

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