#26946: Clarify documentation on customizing the ignored pattern list for
`collectstatic`
--------------------------------------+------------------------------------
Reporter: rixx | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Is this enough?
{{{#!diff
diff --git a/docs/ref/contrib/staticfiles.txt
b/docs/ref/contrib/staticfiles.txt
index 5f2e5f9..78f09b9 100644
--- a/docs/ref/contrib/staticfiles.txt
+++ b/docs/ref/contrib/staticfiles.txt
@@ -136,8 +136,9 @@ Customizing the ignored pattern list
The default ignored pattern list, ``['CVS', '.*', '*~']``, can be
customized in
a more persistent way than providing the ``--ignore`` command option at
each
``collectstatic`` invocation. Provide a custom
:class:`~django.apps.AppConfig`
-class, override the ``ignore_patterns`` attribute of this class and
specify
-that class path inside your :setting:`INSTALLED_APPS` setting:
+class, override the ``ignore_patterns`` attribute of this class and
replace
+``'django.contrib.staticfiles'`` with that class path in your
+:setting:`INSTALLED_APPS` setting:
.. code-block:: python
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26946#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.0a3d02df25f0287db683a1bda195248b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.