Opened 2 years ago

Closed 17 months ago

Last modified 17 months ago

#19879 closed New feature (fixed)

have 'findstatic' say where it is searching

Reported by: ccurvey Owned by: vajrasky
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

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Seems useful to me.

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

  • Has patch set
  • Keywords django-sprint added
  • Owner changed from nobody to anonymous
  • Status changed from new to assigned

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

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

comment:4 Changed 2 years ago by claudep

  • Resolution fixed deleted
  • Status changed from closed to new

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

comment:5 Changed 2 years ago by claudep

  • Needs documentation set
  • Needs tests set

comment:6 Changed 20 months ago by vajrasky

  • Cc sky.kok@… added
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from anonymous to vajrasky
  • Status changed from new to assigned
  • Version changed from 1.5-rc-1 to master

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 Changed 17 months ago by Jannis Leidel <jannis@…>

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

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 17 months 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