Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by carljm

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

(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 Changed 3 years ago by carljm

(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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.