#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.
Note:
See TracTickets
for help on using tickets.
In 87eedfff44d23a8600557bcd9fa3ebbea0f3841e: