Fix session bug in old CRUD views
This commit is contained in:
parent
79e63571e3
commit
14ac7aa198
|
@ -100,6 +100,7 @@ class CrudView(View):
|
|||
kwargs.setdefault('cancel_url', self.cancel_url)
|
||||
kwargs.setdefault('creating', self.creating)
|
||||
kwargs.setdefault('updating', self.updating)
|
||||
kwargs.setdefault('session', Session())
|
||||
form = form_factory(self.request, fieldset, **kwargs)
|
||||
|
||||
if form.creating:
|
||||
|
|
Loading…
Reference in a new issue