panosl / django-currencies

django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
http://pypi.python.org/pypi/django-currencies
BSD 3-Clause "New" or "Revised" License
94 stars 81 forks source link

make utils.py work with cached queryset results dict #80

Open anufry opened 4 years ago

anufry commented 4 years ago

This will protect from DB query for each currency filter usage (1 query per hour, until model would not be changed)

asucrews commented 2 years ago

@panosl, @anufry, i going to pull these changes in my fork and see if they work with Django 4.

If it does I open a new PR, this seems like a really good feature to add.