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: hooks:
- id: isort - id: isort
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.6.0 rev: 22.10.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pycqa/flake8 - repo: https://github.com/pycqa/flake8

View file

@ -20,7 +20,7 @@ Read on to learn about the details!
# Release notes # 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. *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> <sub><b>Real-Gecko</b></sub>
</a> </a>
</td> </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"> <td align="center">
<a href="https://github.com/telenieko"> <a href="https://github.com/telenieko">
<img src="https://avatars.githubusercontent.com/u/10505?v=4" width="100;" alt="telenieko"/> <img src="https://avatars.githubusercontent.com/u/10505?v=4" width="100;" alt="telenieko"/>
<br /> <br />
<sub><b>Marc Fargas</b></sub> <sub><b>Marc Fargas</b></sub>
</a> </a>
</td> </td></tr>
<tr>
<td align="center"> <td align="center">
<a href="https://github.com/spollard"> <a href="https://github.com/spollard">
<img src="https://avatars.githubusercontent.com/u/1459574?v=4" width="100;" alt="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 ```python
COMPONENTS = { COMPONENTS = {
"autodiscovery": False, "autodiscover": False,
} }
``` ```

View file

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