Opened 11 years ago

Closed 11 years ago

#20679 closed Bug (fixed)

Incorrect docstring for CachedFilesMixin.post_process

Reported by: Baptiste Mispelon Owned by: nobody
Component: contrib.staticfiles Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
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 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

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