Skip to content

Commit 6988afd

Browse files
jamaalscarlettjleclanche
authored andcommitted
Removed call to with_metaclass as it is no longer needed
Subfieldbase is deprecated and scheduled to be removed with Django 1.10 Fixes #257
1 parent 64f9889 commit 6988afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push_notifications/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def prepare_value(self, value):
5858
return super(forms.CharField, self).prepare_value(value)
5959

6060

61-
class HexIntegerField(six.with_metaclass(models.SubfieldBase, models.BigIntegerField)):
61+
class HexIntegerField(models.BigIntegerField):
6262
"""
6363
This field stores a hexadecimal *string* of up to 64 bits as an unsigned integer
6464
on *all* backends including postgres.

0 commit comments

Comments
 (0)