#21116 closed Cleanup/optimization (fixed)
missing 'python ' in bash command
| Reported by: | Owned by: | Tim Graham | |
|---|---|---|---|
| Component: | Documentation | Version: | 1.5 |
| Severity: | Normal | Keywords: | example code |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In the bash code example for creating a super user the call is:
manage.py createsuperuser --username=joe --email=joe@example.com
I think it should be:
python manage.py createsuperuser --username=joe --email=joe@example.com
The page:
https://docs.djangoproject.com/en/1.5/topics/auth/default/#topics-auth-creating-superusers
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → Cleanup/optimization |
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
It's not technically required if the script is executable (you can run
./manage.py) but I'll clean this up for consistency.