-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 compatibility #60
Conversation
Any chance to merge it soon? |
import datetime | ||
import six |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from django.utils import six
?
@aburgel what do you think about merging it to master? |
item_metaclass = getattr(self.item_field, '__metaclass__', None) | ||
if item_metaclass and issubclass(item_metaclass, models.SubfieldBase): | ||
item_metaclass = type(self.item_field) | ||
if issubclass(item_metaclass, models.SubfieldBase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the __metaclass__
is the same as an object's type.
(This can be closed) |
Python 3 support was added in #63 |
Hi!
@menno-tgho did some work in getting djangotoolbox compatible with python 3. Would be great if you could merge and push a new release to PyPi.
Cheers!
Frens