Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21116 closed Cleanup/optimization (fixed)

missing 'python ' in bash command

Reported by: daniel.quattro@… 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 daniel.quattro@…, 11 years ago

comment:2 by Tim Graham, 11 years ago

Owner: changed from nobody to Tim Graham
Status: newassigned
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

It's not technically required if the script is executable (you can run ./manage.py) but I'll clean this up for consistency.

comment:3 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In d1c9802811b5c3f5abd3defcfecac160135fa6e7:

Fixed #21116 -- Made usage of manage.py in docs more consistent.

Thanks daniel.quattro at gmail.com for the report.

comment:4 by Ramiro Morales <cramm0@…>, 11 years ago

In d1047c8b4cecd2e64a1ec0882328af9d081220a3:

[1.6.x] Fixed #21116 -- Made usage of manage.py in docs more consistent.

Thanks daniel.quattro at gmail.com for the report.

d1c9802811 from master.

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