Open riseriyo opened 9 years ago
incorrect code, change from: def get_form_kwargs(self): kwargs = super().get_form_kwargs() kwargs['entry'] = self.entry <====== change this return kwargs
to: def get_form_kwargs(self): kwargs = super().get_form_kwargs() kwargs['entry'] = self.get_objects() <==== to this return kwargs
incorrect code, change from: def get_form_kwargs(self): kwargs = super().get_form_kwargs() kwargs['entry'] = self.entry <====== change this return kwargs
to: def get_form_kwargs(self): kwargs = super().get_form_kwargs() kwargs['entry'] = self.get_objects() <==== to this return kwargs