Skip to content

Commit 301ec43

Browse files
committed
📝 [#641] Added Python & Django versions badges to the readme
1 parent 470df8f commit 301ec43

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
Better ArrayField widget for admin
1212

13-
Supported Python versions: 3.8, 3.9, 3.10, 3.11
14-
Supported Django versions: 3.2, 4.1, 4.2
13+
Supported Python versions: |python-versions|
14+
Supported Django versions: |django-versions|
1515

1616
It changes comma separated widget to list based in admin panel.
1717

@@ -87,3 +87,30 @@ Tools used in rendering this
8787

8888
- [Cookiecutter](https://github.com/audreyr/cookiecutter)
8989
- [cookiecutter-djangopackage](https://github.com/pydanny/cookiecutter-djangopackage)
90+
91+
92+
.. |build-status| image:: https://github.com/maykinmedia/{{ project_name }}/workflows/Run%20CI/badge.svg
93+
:alt: Build status
94+
:target: https://github.com/maykinmedia/{{ project_name }}/actions?query=workflow%3A%22Run+CI%22
95+
96+
.. |code-quality| image:: https://github.com/maykinmedia/{{ project_name }}/workflows/Code%20quality%20checks/badge.svg
97+
:alt: Code quality checks
98+
:target: https://github.com/maykinmedia/{{ project_name }}/actions?query=workflow%3A%22Code+quality+checks%22
99+
100+
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
101+
:target: https://github.com/psf/black
102+
103+
.. |coverage| image:: https://codecov.io/gh/maykinmedia/{{ project_name }}/branch/master/graph/badge.svg
104+
:target: https://codecov.io/gh/maykinmedia/{{ project_name }}
105+
:alt: Coverage status
106+
107+
.. |docs| image:: https://readthedocs.org/projects/{{ project_name }}/badge/?version=latest
108+
:target: https://{{ project_name }}.readthedocs.io/en/latest/?badge=latest
109+
:alt: Documentation Status
110+
111+
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/{{ project_name }}.svg
112+
113+
.. |django-versions| image:: https://img.shields.io/pypi/djversions/{{ project_name }}.svg
114+
115+
.. |pypi-version| image:: https://img.shields.io/pypi/v/{{ project_name }}.svg
116+
:target: https://pypi.org/project/{{ project_name }}/

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"Programming Language :: Python :: 3.11",
3737
],
3838
install_requires=[
39-
"Django>=4.2",
39+
"Django>=3.2",
4040
]
4141
)

0 commit comments

Comments
 (0)