Skip to content

Commit

Permalink
Fixed Choices to support six>1.8. (See benjaminp/six#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
konr4d committed Oct 12, 2019
1 parent 619515c commit 0696dd6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dj/choices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ def __new__(meta, classname, bases, classDict):


class Choices(six.with_metaclass(_ChoicesMeta, list)):
__metaclass__ = _ChoicesMeta

def __init__(self, filter=(unset,), item=unset, grouped=False):
"""Creates a list of pairs from the specified Choices class.
By default, each pair consists of a numeric ID and the translated
Expand Down

0 comments on commit 0696dd6

Please sign in to comment.