Fix up some string type issues.
Review Request #12078 — Created Feb. 23, 2022 and submitted — Latest diff uploaded
This change fixes up three issues I encountered with string types:
- The logging method for missing cache keys in the large data utilities
was mixing str and bytes. - The documentation for the return value of
make_cache_key
wasn't correct. - The new template loader for extension templates was returning contents
asbytes
, which caused problems when they were rendered (the
resulting rendered string would includeb''
around the content). - The
WS_RE
regexp used in thedjblets_utils
templatetags was
incorrectly not marked as a raw string.
- Ran unit tests.
- Used templates from an extension and saw them render correctly.