Fix bug when making new member
This commit is contained in:
parent
512e74c493
commit
0ea0ca240a
|
@ -116,7 +116,7 @@ class MemberView(MasterView):
|
||||||
|
|
||||||
def configure_form(self, f):
|
def configure_form(self, f):
|
||||||
super(MemberView, self).configure_form(f)
|
super(MemberView, self).configure_form(f)
|
||||||
member = self.get_instance()
|
member = f.model_instance
|
||||||
|
|
||||||
# date fields
|
# date fields
|
||||||
f.set_type('joined', 'date_jquery')
|
f.set_type('joined', 'date_jquery')
|
||||||
|
|
Loading…
Reference in a new issue