#35822: App name hard-coded in collectstatic command forces name of overriding
app
name to be 'staticfiles'
-------------------------------------+-------------------------------------
Reporter: fishfin | Owner: (none)
Type: Bug | Status: closed
Component: contrib.staticfiles | Version: 5.1
Severity: Normal | Resolution: invalid
Keywords: collectstatic | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* resolution: => invalid
* status: new => closed
Comment:
You added a name.
This
{{{
class MyappConfig(StaticFilesConfig):
name = 'myapp'
ignore_patterns = ["testpattern"]
}}}
should be:
{{{
class MyappConfig(StaticFilesConfig):
ignore_patterns = ["testpattern"]
}}}
It inherits the name for `StaticFilesConfig`
So it works as documented
--
Ticket URL: <https://code.djangoproject.com/ticket/35822#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107019270b7d56a-8577fa84-e4f9-482e-9711-4d5c400f7e11-000000%40eu-central-1.amazonses.com.