Switch to using six.python_2_unicode_compatible().

Review Request #11625 — Created May 26, 2021 and submitted

chipx86
Djblets
release-3.x
djblets

Django used to provide a @python_2_unicode_compatible decorator, which
was then adopted into six and folded back into Django's copy.

Since modern versions of Django no longer provide the legacy version of
this decorator, this change moves the codebase to using the one in
six.

Unit tests pass on Django 1.11 and on 3.2 (with other in-progress changes).

Summary
Switch to using six.python_2_unicode_compatible().
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (4b6270b)
Loading...