Skip to content
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

Closed
wants to merge 5 commits into from
Closed

Conversation

frensjan
Copy link

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

@r4fek
Copy link

r4fek commented Feb 12, 2015

Any chance to merge it soon?

import datetime
import six
Copy link
Member

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?

@r4fek
Copy link

r4fek commented Mar 26, 2015

@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):
Copy link
Member

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.

@kavdev
Copy link
Contributor

kavdev commented Jul 9, 2015

(This can be closed)

@aburgel
Copy link
Member

aburgel commented Jul 19, 2015

Python 3 support was added in #63

@aburgel aburgel closed this Jul 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants