From 6988afd0ae699a857c3d50514e232cc5a5c29d6f Mon Sep 17 00:00:00 2001 From: Jamaal Scarlett Date: Mon, 14 Dec 2015 23:41:56 -0500 Subject: [PATCH] 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 --- push_notifications/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push_notifications/fields.py b/push_notifications/fields.py index 6c89f542..e1778185 100644 --- a/push_notifications/fields.py +++ b/push_notifications/fields.py @@ -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.