-
Committer:
Ubuntu One Auto Copilot
-
Author(s):
Johan Dahlin
-
Date:
2018-10-16 20:17:22 UTC
-
mfrom:
(14.1.14 django-piston)
-
Revision ID:
otto-copilot@canonical.com-20181016201722-4n8xrsxc20jb9evd
Port to Python 3
- Run futurize
- Make sure unittests pass in both 2.7 & 3.5
- Fix bytes/str mixup
- Replace __unicode__ with __str__ (both works on 2.7, latter only on 3.5)
- Use smart_text instead of smart_unicode (latter is deprecated)
- Fix migration to use str instead of bytes
Merged from https://code.launchpad.net/~jdahlin/django-piston/python-3/+merge/356747