InvenTree/InvenTree/common
Matthias Mair 82bdd7780d
[FR] Simplify / optimize setting loading (#4152)
* [FR] Simplify / optimize setting loading
Cache config.yaml data on load and use cached  for get_settings
Fixes #4149

* move the cache setting to config

* add docstring

* spell fix

* Add lookup where settings come from
Fixes #3982

* Fix spelling
2023-01-07 23:24:20 +11:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations Add news reader (#3445) 2022-11-10 12:20:06 +11:00
__init__.py startapp common 2019-09-03 08:30:14 +10:00
admin.py Add news reader (#3445) 2022-11-10 12:20:06 +11:00
api.py [FR] Simplify / optimize setting loading (#4152) 2023-01-07 23:24:20 +11:00
apps.py Prevent write of SERVER_RESTART_REQUIRED setting when importing dataset (#3249) 2022-06-24 20:42:55 +10:00
files.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
forms.py Remove SettingEditForm (#3964) 2022-11-19 23:10:02 +11:00
models.py Part stocktake (#4069) 2022-12-31 23:14:43 +11:00
notifications.py [FR] Slack notifications & notification method updates (#4114) 2023-01-01 09:20:55 +11:00
serializers.py [FR] Simplify / optimize setting loading (#4152) 2023-01-07 23:24:20 +11:00
settings.py Setting caching (#3178) 2022-06-12 10:56:16 +10:00
tasks.py Improvements for docker / gunicorn (#4031) 2022-12-08 23:06:02 +11:00
test_notifications.py Adds callback for creation of an error log (#3136) 2022-06-06 15:21:31 +10:00
test_tasks.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py [FR] Simplify / optimize setting loading (#4152) 2023-01-07 23:24:20 +11:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Switch to pathlib (#3392) 2022-07-27 10:42:34 +10:00