Package: django-shortuuidfield / 0.1.2-2

Metadata

Package Version Patches format
django-shortuuidfield 0.1.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
support_for_Python3.patch | (download)

shortuuidfield/__init__.py | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 add support for python 3
 * The try...except uses the old-style exception assignment that is not support
   in Python 3 anymore. Since you are not using the e variable anyway, I have
   simply removed it.
 * You are using an implicit relative import in shortuuidfield.__init__.py
   which doesn't work in Python 3. Only explicit relative imports are
   supported. I have updated the import statement and added another import to
   enforce the explicit behaviour in Python 2.x. The Python wiki has some more
   details on the relative imports if you are curious.
fixed_unicode_handling.patch | (download)

shortuuidfield/fields.py | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fixed unicode handling for python 3
 Cast with unicode() function, but it is not in Python 3.
 So change str() instead of unicode().