summaryrefslogtreecommitdiff
path: root/django/core/cache/backends/db.py
AgeCommit message (Expand)Author
2026-06-09Fixed #37130 -- Skipped DB cache deletion when culling offset is zero.vishwa
2026-06-08Fixed #32785 -- Optimized cull frequency for DBCache.eevelweezel
2026-05-05Fixed #37053 -- Added validate=True to base64.b64decode() calls.Sarah Boyce
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-03-01Applied Black's 2025 stable style.Mariusz Felisiak
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-09Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache.Arsa
2021-09-07Fixed #33060 -- Added BaseCache.make_and_validate_key() hook.Nick Pope
2021-09-07Refs #33060 -- Ensured cache backends validate keys.Nick Pope
2021-05-26Fixed #32772 -- Made database cache count size once per set.Michael Lissner
2021-05-12Fixed #32366 -- Updated datetime module usage to recommended approach.Nick Pope
2021-05-05Fixed #32705 -- Prevented database cache backend from checking .rowcount on c...ecogels
2020-06-22Fixed #31728 -- Fixed cache culling when no key is found for deletion.Guillermo Bonvehí
2019-11-14Fixed #30759 -- Made cache.delete() return whether it succeeded.daniel a rios
2019-01-17Refs #28370 -- Removed support for the context arg of Field.from_db_value() a...Tim Graham
2018-08-17Fixed #29626, #29584 -- Added optimized versions of get_many() and delete_man...oliver
2018-07-09Fixed #29550 -- Eased overriding pickle.dumps() protocol in cache backends an...Simon Charette
2018-04-27Fixed #27480 -- Added cache.touch().Nicolas Noé
2018-03-13Quoted field names in cache db backend SQL.Hajime Nakagami
2018-02-02Refs #27795 -- Replaced force_bytes() usage in django.core.cache.Jon Dufresne
2017-12-07Refs #23919 -- Replaced super() calls for old-style classes.Nick Pope
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2015-05-17Refactored datetime handling in the database cache backend.Aymeric Augustin
2015-05-17Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin
2015-05-17Removed global timezone-aware datetime converters.Aymeric Augustin
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-10-10Fixed #23625 -- Removed CacheClass shimJaap Roes
2014-02-02Ensure cursors are closed when no longer needed.Michael Manfre
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-01Fixed #21147 -- Avoided time.time precision issue with cache backends.Michael Manfre
2013-09-26Fixed #21146 - DatabaseCache converts expires to python valueMichael Manfre
2013-05-18Fixed #9595 -- Allow non-expiring cache timeouts.Jacob Burch
2013-03-13Made atomic usable when autocommit is off.Aymeric Augustin
2013-03-11Fixed #11569 -- Wrapped DatabaseCache._base_set in an atomic block.Aymeric Augustin
2013-03-11Deprecated transaction.commit/rollback_unless_managed.Aymeric Augustin
2013-02-24Fixed #19896 -- Committed after clearing cache in the database.George Song
2013-02-05Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.Simon Charette
2012-11-10Fixed #19273 -- Fixed DB cache backend on pg 9.0+ and py3Anssi Kääriäinen
2012-08-29Replaced many smart_bytes by force_bytesClaude Paroz
2012-08-18[py3] Fixed cache tests.Aymeric Augustin
2012-08-15[py3] Fixed more encoding issues in cache testsClaude Paroz
2012-08-14[py3] Avoided the deprecated base64 interface.Aymeric Augustin