mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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:
parent
6c9778a58e
commit
5cb3ed187b
3 changed files with 26 additions and 10 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue