diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..9efbe4d --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,4 @@ +# These are supported funding model platforms + +github: matagus +custom: https://www.paypal.me/matagus diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..ea2944d --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,6 @@ +--- +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d638322..480289d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,10 +3,10 @@ default_language_version: python: python3.13 repos: - - repo: https://github.com/charliermarsh/ruff-pre-commit + - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.14.0" hooks: - - id: ruff + - id: ruff-check args: [--fix] - repo: https://github.com/psf/black diff --git a/README.md b/README.md index dae98cd..c8abc38 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # django-admin-contexts -![Python Compatibility](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg) [![PyPi Version](https://img.shields.io/pypi/v/django-admin-contexts.svg)](https://pypi.python.org/pypi/django-admin-contexts) ![CI badge](https://github.com/matagus/django-admin-contexts/actions/workflows/ci.yml/badge.svg) [![codecov](https://codecov.io/gh/matagus/django-admin-contexts/graph/badge.svg?token=a64SxEDQk0)](https://codecov.io/gh/matagus/django-admin-contexts) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) +![Python Compatibility](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg) +![Django Compatibility](https://img.shields.io/badge/django-4.0%20|4.1%20|4.2%20|%205.0%20|%205.1%20|%205.2-%2344B78B?labelColor=%23092E20) +[![PyPi Version](https://img.shields.io/pypi/v/django-admin-contexts.svg)](https://pypi.python.org/pypi/django-admin-contexts) +![CI badge](https://github.com/matagus/django-admin-contexts/actions/workflows/ci.yml/badge.svg) +[![codecov](https://codecov.io/gh/matagus/django-admin-contexts/graph/badge.svg?token=a64SxEDQk0)](https://codecov.io/gh/matagus/django-admin-contexts) +[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) Display only a set of apps and models in the Django Admin homepage, based on the chosen context. This is useful when you have a lot of apps and models and you want to focus on a specific set of them.