Fix bug when making new member

This commit is contained in:
Lance Edgar 2018-12-19 23:14:23 -06:00
parent 512e74c493
commit 0ea0ca240a

View file

@ -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')