#20679 closed Bug (fixed)

Incorrect docstring for CachedFilesMixin.post_process

Reported by: bmispelon Owned by: nobody
Component: contrib.staticfiles Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: yes UI/UX: no

Description

The docstring for django.contrib.staticfiles.storage.CachedFilesMixin.post_process states that:

Post process the given list of files (called from collectstatic).

However, the paths argument passed to it from collectstatic is actually a dict (a SortedDict to be precise), not a list.

Change History (1)

comment:1 Changed 21 months ago by Tim Graham <timograham@…>

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

In 9b88dd3809a178e5bdc2e4a5d2794c2842a2cd43:

Fixed #20679 -- Corrected CachedFilesMixin.post_process docstring.

Thanks bmispelon for the report.

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