#26946 closed Cleanup/optimization (fixed)
Clarify documentation on customizing the ignored pattern list for `collectstatic`
Reported by: | Tobias Kunze | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The docs (https://docs.djangoproject.com/en/1.10/ref/contrib/staticfiles/#customizing-the-ignored-pattern-list) only include two very terse sentences on the new feature of customizing the ignored pattern list for collectstatic
via code instead of invocation parameters. The second sentence ends with
override the ignore_patterns attribute of this class and specify that class path inside your INSTALLED_APPS setting.
If you just follow those instructions without removing 'staticfiles' from the INSTALLED_APPS list, you'll get the error Application labels aren't unique, duplicates: staticfiles
.
Change History (5)
comment:1 by , 8 years ago
Type: | Uncategorized → Cleanup/optimization |
---|
comment:2 by , 8 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 8 years ago
I'd say so, thanks! (This issue was actually mentioned via #django on freenode by jleclanche.)
Is this enough?
docs/ref/contrib/staticfiles.txt