Opened 20 months ago

Closed 19 months ago

Last modified 19 months ago

#21116 closed Cleanup/optimization (fixed)

missing 'python ' in bash command

Reported by: daniel.quattro@… Owned by: timo
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 Changed 20 months ago by daniel.quattro@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 19 months ago by timo

  • Owner changed from nobody to timo
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/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 Changed 19 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In d1c9802811b5c3f5abd3defcfecac160135fa6e7:

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

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

comment:4 Changed 19 months ago by Ramiro Morales <cramm0@…>

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