Skip to content

Commit 6cb5566

Browse files
authored
Merge pull request #45 from alexei/bugfix-fix_method_field_initialiser
Fix AdapterMethodField initialiser
2 parents a5f844f + f3ffa19 commit 6cb5566

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adapters/fields.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323

2424

2525
class AdapterMethodField(BaseField):
26-
def __init__(self, method_name=None):
26+
def __init__(self, method_name=None, **kwargs):
2727
self.method_name = method_name
28+
super(AdapterMethodField, self).__init__(**kwargs)
2829

2930
def bind(self, field_name, adapter):
3031
self.field_name = field_name

0 commit comments

Comments
 (0)