Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#17539 closed Cleanup/optimization (wontfix) collectstatic is invalid

Reported by: tskarthikus@… Owned by: mattseymour
Component: Documentation Version: 1.3
Severity: Normal Keywords: collectstatic
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The " collectstatic" command should be replaced with this command.
"python collectstatic"

Attachments (1)

bug.png (112.2 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by mattseymour

  • Cc mattseymour added
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to mattseymour
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by anonymous

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

These ' <command name>' titles in the documentation are generated automatically (with a custom role for the Sphinx tool) starting from the <command name> value. It was decided back then that such facility would prefix it with ' '.

Because of this, all the management commands in that document have with such a title even those commands whose execution would make more sense in the context of an existing project i.e. it is easier to invoke them by using (e.g. collectstatic, startapp, syncdb, runserver, ...)

This isn't wrong because, as the notes at the top of such document describe, it is possible to use these management commands by invoking with the --settings switch or by specifying the DJANGO_SETTINGS_MODULE environment variable. Also, these notes include this paragraph:

The command-line examples throughout this document use to be consistent, but any example can use just as well.

comment:3 Changed 5 years ago by mattseymour

  • Cc mattseymour removed
  • Type changed from Bug to Cleanup/optimization
Note: See TracTickets for help on using tickets.
Back to Top