Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#23607 closed Cleanup/optimization (fixed)

collectstatic: Documentation error

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

Description

Found in 1.7 (https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/#collectstatic)

The example reads:
class MyStaticFilesStorage(storage.StaticFilesStorage):

....
super(CustomStaticFilesStorage, self).init(*args, kwargs)

The class name and the first variable in the super call should be identical. This example throws an exception.

Change History (2)

comment:1 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 87eedfff44d23a8600557bcd9fa3ebbea0f3841e:

Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.

comment:2 by Tim Graham <timograham@…>, 10 years ago

In dbd52f339cdae7fb57526cb86d45792438799e5b:

[1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.

Thanks Rolandde for the report.

Backport of 87eedfff44 from master

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