Change session progress API.
Breaks compatibility, but worth it I think..
This commit is contained in:
parent
4909188ee3
commit
5b173dd9bc
4 changed files with 16 additions and 14 deletions
|
@ -386,7 +386,7 @@ class CreateProductsBatch(ProductsGrid):
|
|||
self.request.session['referer'] = self.request.current_route_url()
|
||||
return HTTPFound(location=url)
|
||||
|
||||
progress = SessionProgress(self.request.session, 'products.batch')
|
||||
progress = SessionProgress(self.request, 'products.batch')
|
||||
thread = Thread(target=self.make_batch, args=(provider, progress))
|
||||
thread.start()
|
||||
kwargs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue