Skip to content

Commit

Permalink
Removed call to with_metaclass as it is no longer needed
Browse files Browse the repository at this point in the history
Subfieldbase is deprecated and scheduled to be removed with Django 1.10

Fixes #257
  • Loading branch information
jamaalscarlett authored and jleclanche committed Dec 15, 2015
1 parent 64f9889 commit 6988afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push_notifications/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def prepare_value(self, value):
return super(forms.CharField, self).prepare_value(value)


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

0 comments on commit 6988afd

Please sign in to comment.