Opened 12 years ago

Closed 11 years ago

Last modified 11 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: dev
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

Description

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 by Carl Meyer, 12 years ago

Triage Stage: UnreviewedAccepted

Seems useful to me.

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

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

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

Resolution: fixed
Status: assignedclosed

comment:4 by Claude Paroz, 12 years ago

Resolution: fixed
Status: closednew

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

comment:5 by Claude Paroz, 12 years ago

Needs documentation: set
Needs tests: set

comment:6 by Vajrasky Kok, 11 years ago

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.

https://github.com/django/django/pull/1927

comment:7 by Jannis Leidel <jannis@…>, 11 years ago

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 by Tim Graham <timograham@…>, 11 years ago

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