mirror of
https://github.com/django-components/django-components.git
synced 2025-09-27 16:09:07 +00:00
Update README.md
This commit is contained in:
parent
28d9450ebf
commit
3f17be9f32
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ You probably don't want this, as parts of your backend logic will be exposed, po
|
||||||
As of _v0.27_, django-components ships with an additional installable app _django_components.**safer_staticfiles**_.
|
As of _v0.27_, django-components ships with an additional installable app _django_components.**safer_staticfiles**_.
|
||||||
It is a drop-in replacement for _django.contrib.staticfiles_.
|
It is a drop-in replacement for _django.contrib.staticfiles_.
|
||||||
Its behavior is 100% identical except it ignores .py and .html files, meaning these will not end up on your static files server.
|
Its behavior is 100% identical except it ignores .py and .html files, meaning these will not end up on your static files server.
|
||||||
To use it, add it to INSTALLED*APPS and remove \_django.contrib.staticfiles*.
|
To use it, add it to INSTALLED_APPS and remove _django.contrib.staticfiles_.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue