#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: | no | UI/UX: | no |
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 by , 20 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 20 years ago
| milestone: | Version 1.0 |
|---|---|
| Version: | 1.0 |
Note:
See TracTickets
for help on using tickets.
django-admin.py runserver --settings=myproject.settings.mainshould 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.