Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14728 closed (fixed)

More generic text about missing .py extension on commands

Reported by: giallu Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I noticed the text

Script name differs on Ubuntu

If you installed Django using the Ubuntu package manager (e.g. apt-get) django-admin.py has been 
renamed to django-admin. You may continue through this documentation by omitting .py from each command.

can be more general as it also applies to Fedora (which I'm using now) and probably other distros.

I'd suggest generalizing the text like:

Script name differs in distro packages

If you installed Django using the from your package manager (apt-get for Ubuntu/Debian, yum for Fedora, etc.) 
django-admin.py has been renamed to django-admin. You may continue through this documentation by omitting .py from each command.

Change History (2)

comment:1 by Carl Meyer, 14 years ago

Resolution: fixed
Status: newclosed

(In [14621]) Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.

comment:2 by Carl Meyer, 14 years ago

(In [14622]) [1.2.X] Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.

Backport of r14621 from trunk.

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