This commit is contained in:
Emil Stenström 2022-12-13 12:21:27 +01:00
commit 5ac531189f
3 changed files with 16 additions and 14 deletions

View file

@ -4,7 +4,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8

View file

@ -20,7 +20,7 @@ Read on to learn about the details!
# Release notes
*Version 0.22* starts autoimporting all files inside components subdirectores, to simplify setup. An existing project might start to get AlreadyRegistered-errors because of this. To solve this, either remove your custom loading of components, or set "autodiscovery": False in settings.COMPONENTS.
*Version 0.22* starts autoimporting all files inside components subdirectores, to simplify setup. An existing project might start to get AlreadyRegistered-errors because of this. To solve this, either remove your custom loading of components, or set "autodiscover": False in settings.COMPONENTS.
*Version 0.17* renames `Component.context` and `Component.template` to `get_context_data` and `get_template_name`. The old methods still work, but emit a deprecation warning. This change was done to sync naming with Django's class based views, and make using django-components more familiar to Django users. `Component.context` and `Component.template` will be removed when version 1.0 is released.
@ -170,13 +170,21 @@ Read on to find out how to build your first component!
<sub><b>Real-Gecko</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/mands">
<img src="https://avatars.githubusercontent.com/u/1010043?v=4" width="100;" alt="mands"/>
<br />
<sub><b>Mandeep Gill</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/telenieko">
<img src="https://avatars.githubusercontent.com/u/10505?v=4" width="100;" alt="telenieko"/>
<br />
<sub><b>Marc Fargas</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/spollard">
<img src="https://avatars.githubusercontent.com/u/1459574?v=4" width="100;" alt="spollard"/>
@ -396,7 +404,7 @@ If you specify all the component locations with the setting above and have a lot
```python
COMPONENTS = {
"autodiscovery": False,
"autodiscover": False,
}
```

View file

@ -12,7 +12,7 @@ attrs==20.3.0
# via pytest
distlib==0.3.1
# via virtualenv
django==4.0.7
django==4.0.8
# via -r requirements-dev.in
filelock==3.0.12
# via
@ -35,16 +35,14 @@ pluggy==0.13.1
# pytest
# tox
py==1.10.0
# via
# pytest
# tox
# via tox
pycodestyle==2.8.0
# via flake8
pyflakes==2.4.0
# via flake8
pyparsing==2.4.7
# via packaging
pytest==7.1.2
pytest==7.2.0
# via -r requirements-dev.in
six==1.15.0
# via
@ -52,11 +50,7 @@ six==1.15.0
# virtualenv
sqlparse==0.4.2
# via django
toml==0.10.2
# via tox
tomli==2.0.0
# via pytest
tox==3.25.1
tox==3.27.1
# via -r requirements-dev.in
virtualenv==20.4.3
# via tox