mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #30772 -- Optimized make_template_fragment_key().
Removed usage of urllib.quote(), unnecessary since cbbe60c7fc.
Used hasher's .update() on key fragments.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6c9778a58e
commit
5cb3ed187b
@@ -208,7 +208,11 @@ backends.
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
* ...
|
||||
* The cache keys used by :ttag:`cache` and generated by
|
||||
:func:`~django.core.cache.utils.make_template_fragment_key` are different
|
||||
from the keys generated by older versions of Django. After upgrading to
|
||||
Django 3.1, the first request to any previously cached template fragment will
|
||||
be a cache miss.
|
||||
|
||||
.. _deprecated-features-3.1:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user