Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#19879 closed New feature (fixed)

have 'findstatic' say where it is searching

Reported by: Chris Curvey Owned by: Vajrasky Kok
Component: contrib.staticfiles Version: master
Severity: Normal Keywords: django-sprint
Cc: sky.kok@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


it would be great if findstatic would say where it is looking. (probably with verbosity=2) that would be a great aid when debugging the various STATIC settings.

Change History (8)

comment:1 Changed 6 years ago by Carl Meyer

Triage Stage: UnreviewedAccepted

Seems useful to me.

comment:2 Changed 6 years ago by Jonas Svensson <jonas.s.svensson@…>

Has patch: set
Keywords: django-sprint added
Owner: changed from nobody to anonymous
Status: newassigned

comment:3 Changed 6 years ago by Jonas Svensson <jonas.s.svensson@…>

Resolution: fixed
Status: assignedclosed

comment:4 Changed 6 years ago by Claude Paroz

Resolution: fixed
Status: closednew

The ticket should not be closed until the patch is actually committed in the Django Git repository.

comment:5 Changed 6 years ago by Claude Paroz

Needs documentation: set
Needs tests: set

comment:6 Changed 5 years ago by Vajrasky Kok

Cc: sky.kok@… added
Needs documentation: unset
Needs tests: unset
Owner: changed from anonymous to Vajrasky Kok
Status: newassigned
Version: 1.5-rc-1master

Here is the PR with test and documentation. I based my PR on Jonas Svensson's PR.

comment:7 Changed 5 years ago by Jannis Leidel <jannis@…>

Resolution: fixed
Status: assignedclosed

In 6a9ed7d403a5f90a7c7354097aae99b74e8ce215:

Fixed #19879 -- Have 'findstatic' says on which directories it searched the relative paths.

Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic'
command that will output the directories on which it searched the relative paths.

Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.

comment:8 Changed 5 years ago by Tim Graham <timograham@…>

In 29345390b81a3bfce22af43617cabd0d08de3632:

Minor edits to new findstatic functionality; refs #19879.

Hopefully fixes a test failure on Jenkins.

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