Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrthearman/django-post-fetch-hook

Modify data fetched from a database after it has been fetched but before it has been cached in django's result cache.
https://github.com/mrthearman/django-post-fetch-hook

django orm python

Last synced: 2 months ago
JSON representation

Modify data fetched from a database after it has been fetched but before it has been cached in django's result cache.

Awesome Lists containing this project

README

        

# Django Post-fetch Hook

[![Coverage Status][coverage-badge]][coverage]
[![GitHub Workflow Status][status-badge]][status]
[![PyPI][pypi-badge]][pypi]
[![GitHub][licence-badge]][licence]
[![GitHub Last Commit][repo-badge]][repo]
[![GitHub Issues][issues-badge]][issues]
[![Downloads][downloads-badge]][pypi]
[![Python Version][version-badge]][pypi]

```shell
pip install django-post-fetch-hook
```

---

**Documentation**: [https://mrthearman.github.io/django-post-fetch-hook/](https://mrthearman.github.io/django-post-fetch-hook/)

**Source Code**: [https://github.com/MrThearMan/django-post-fetch-hook/](https://github.com/MrThearMan/django-post-fetch-hook/)

**Contributing**: [https://github.com/MrThearMan/django-post-fetch-hook/blob/main/CONTRIBUTING.md](https://github.com/MrThearMan/django-post-fetch-hook/blob/main/CONTRIBUTING.md)

---

Adds a post-fetch hook to Django models, which can be used to modify data fetched from database via the Django ORM.

[coverage-badge]: https://coveralls.io/repos/github/MrThearMan/django-post-fetch-hook/badge.svg?branch=main
[status-badge]: https://img.shields.io/github/actions/workflow/status/MrThearMan/django-post-fetch-hook/test.yml?branch=main
[pypi-badge]: https://img.shields.io/pypi/v/django-post-fetch-hook
[licence-badge]: https://img.shields.io/github/license/MrThearMan/django-post-fetch-hook
[repo-badge]: https://img.shields.io/github/last-commit/MrThearMan/django-post-fetch-hook
[issues-badge]: https://img.shields.io/github/issues-raw/MrThearMan/django-post-fetch-hook
[version-badge]: https://img.shields.io/pypi/pyversions/django-post-fetch-hook
[downloads-badge]: https://img.shields.io/pypi/dm/django-post-fetch-hook

[coverage]: https://coveralls.io/github/MrThearMan/django-post-fetch-hook?branch=main
[status]: https://github.com/MrThearMan/django-post-fetch-hook/actions/workflows/test.yml
[pypi]: https://pypi.org/project/django-post-fetch-hook
[licence]: https://github.com/MrThearMan/django-post-fetch-hook/blob/main/LICENSE
[repo]: https://github.com/MrThearMan/django-post-fetch-hook/commits/main
[issues]: https://github.com/MrThearMan/django-post-fetch-hook/issues