Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
ec4a6b33
Kaydet (Commit)
ec4a6b33
authored
Tem 25, 2016
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #26946 -- Clarified instructions for customizing collectstatic's ignore_patterns.
üst
e69091b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
staticfiles.txt
docs/ref/contrib/staticfiles.txt
+5
-2
1.10.txt
docs/releases/1.10.txt
+3
-0
No files found.
docs/ref/contrib/staticfiles.txt
Dosyayı görüntüle @
ec4a6b33
...
@@ -124,6 +124,8 @@ For a full list of options, refer to the commands own help by running::
...
@@ -124,6 +124,8 @@ For a full list of options, refer to the commands own help by running::
$ python manage.py collectstatic --help
$ python manage.py collectstatic --help
.. _customize-staticfiles-ignore-patterns:
Customizing the ignored pattern list
Customizing the ignored pattern list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
@@ -132,8 +134,9 @@ Customizing the ignored pattern list
...
@@ -132,8 +134,9 @@ Customizing the ignored pattern list
The default ignored pattern list, ``['CVS', '.*', '*~']``, can be customized in
The default ignored pattern list, ``['CVS', '.*', '*~']``, can be customized in
a more persistent way than providing the ``--ignore`` command option at each
a more persistent way than providing the ``--ignore`` command option at each
``collectstatic`` invocation. Provide a custom :class:`~django.apps.AppConfig`
``collectstatic`` invocation. Provide a custom :class:`~django.apps.AppConfig`
class, override the ``ignore_patterns`` attribute of this class and specify
class, override the ``ignore_patterns`` attribute of this class and replace
that class path inside your :setting:`INSTALLED_APPS` setting:
``'django.contrib.staticfiles'`` with that class path in your
:setting:`INSTALLED_APPS` setting:
.. code-block:: python
.. code-block:: python
...
...
docs/releases/1.10.txt
Dosyayı görüntüle @
ec4a6b33
...
@@ -222,6 +222,9 @@ Minor features
...
@@ -222,6 +222,9 @@ Minor features
``{% load staticfiles %}`` or ``{% load static from staticfiles %}``) and
``{% load staticfiles %}`` or ``{% load static from staticfiles %}``) and
not worry about whether or not the ``staticfiles`` app is installed.
not worry about whether or not the ``staticfiles`` app is installed.
* You can :ref:`more easily customize <customize-staticfiles-ignore-patterns>`
the ``collectstatic --ignore_patterns`` option with a custom ``AppConfig``.
Cache
Cache
~~~~~
~~~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment