Skip to content

Commit

Permalink
Support python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Suor committed Apr 7, 2016
1 parent 855d2b9 commit 33928db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_pickling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@


from django.db.models import Model
from itertools import izip
try:
from itertools import izip
except ImportError:
izip = zip


def attnames(cls, _cache={}):
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',

'Framework :: Django',
'Environment :: Web Environment',
Expand Down

0 comments on commit 33928db

Please sign in to comment.