I set up a test app running Django 1.6. I created a class in models.py containing an attribute having UUIDField. Works fine. But when I run this with Python 3.3, I get the following error:
Validating models...
Unhandled exception in thread started by <function check_errors..wrapper at 0x10f9063b0>
...
from uuidfield import UUIDField
File "/Users/jeff/Env/django16/lib/python3.3/site-packages/uuidfield/init.py", line 4
except Exception, e:
^
SyntaxError: invalid syntax
I set up a test app running Django 1.6. I created a class in models.py containing an attribute having UUIDField. Works fine. But when I run this with Python 3.3, I get the following error:
Validating models...
Unhandled exception in thread started by <function check_errors..wrapper at 0x10f9063b0>
...
from uuidfield import UUIDField File "/Users/jeff/Env/django16/lib/python3.3/site-packages/uuidfield/init.py", line 4 except Exception, e: ^ SyntaxError: invalid syntax