Fix up some string type issues.

Review Request #12078 — Created Feb. 23, 2022 and submitted

david
Djblets
release-3.x
djblets

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
    as bytes, which caused problems when they were rendered (the
    resulting rendered string would include b'' around the content).
  • The WS_RE regexp used in the djblets_utils templatetags was
    incorrectly not marked as a raw string.
  • Ran unit tests.
  • Used templates from an extension and saw them render correctly.
Summary
Fix up some string type issues.
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (8b0a8ab)
Loading...