mirror of
https://github.com/django-components/django-components.git
synced 2025-08-09 08:48:00 +00:00
chore: fixup
This commit is contained in:
parent
38b62e854b
commit
d30eaaa801
3 changed files with 11 additions and 3 deletions
|
@ -1,11 +1,10 @@
|
|||
|
||||
# Compatibility and requirements
|
||||
|
||||
Django-components supports all <a href="https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django">officially supported versions</a> of Django and Python.
|
||||
Django-components supports all supported combinations versions of [Django](https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django) and [Python](https://devguide.python.org/versions/#versions).
|
||||
|
||||
| Python version | Django version |
|
||||
|----------------|--------------------------|
|
||||
| 3.7 | 3.2 |
|
||||
| 3.8 | 3.2, 4.0, 4.1, 4.2 |
|
||||
| 3.9 | 3.2, 4.0, 4.1, 4.2 |
|
||||
| 3.10 | 3.2, 4.0, 4.1, 4.2, 5.0 |
|
||||
|
|
|
@ -16,7 +16,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`][]*.
|
||||
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.
|
||||
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
|
||||
INSTALLED_APPS = [
|
||||
|
|
|
@ -153,10 +153,19 @@ plugins:
|
|||
- literate-nav
|
||||
- git-revision-date-localized:
|
||||
enabled: !ENV [CI, false]
|
||||
type: timeago
|
||||
exclude:
|
||||
- reference/*
|
||||
- CHANGELOG.md
|
||||
- CODE_OF_CONDUCT.md
|
||||
- license.md
|
||||
- git-authors:
|
||||
enabled: !ENV [CI, false]
|
||||
exclude:
|
||||
- reference/*
|
||||
- CHANGELOG.md
|
||||
- CODE_OF_CONDUCT.md
|
||||
- license.md
|
||||
- markdown-exec
|
||||
# - toc-md:
|
||||
- search
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue