InvenTree/InvenTree/label
Oliver 25d1bceaad
Report template caching (#4503)
* Refactoring for report.api

- Adds generic mixins for filtering queryset (based on updates to label.api)
- Reduces repeated code a *lot*

(cherry picked from commit 5de0b42c41)

* Reduce caching of report printing template

- Cache for 5 seconds
- Ensures that uploaded templates are made available quickly

* Refactoring for label printing API

* Caching timeout fix for label printing

* Typo fix
2023-03-17 15:39:36 +11:00
..
migrations Add model for PartLabel 2021-07-08 21:07:45 +10:00
templates/label Fix dimensions for label templates (#3578) 2022-08-19 11:57:33 +10:00
__init__.py Add "label" app 2020-08-16 09:28:12 +10:00
admin.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
api.py Report template caching (#4503) 2023-03-17 15:39:36 +11:00
apps.py Improvements for docker / gunicorn (#4031) 2022-12-08 23:06:02 +11:00
models.py Fix for barcode URL generation (#3924) 2022-11-13 15:43:51 +11:00
serializers.py Move Meta class to top of class definition (#4363) 2023-02-18 18:51:00 +11:00
test_api.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
tests.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00