Switch to using six.python_2_unicode_compatible().

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

Information

Djblets
release-3.x

Reviewers

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 ID
Switch to using six.python_2_unicode_compatible().
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`.
2c4f47655f23324d0579949a6f13b540e47fe212
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (4b6270b)