You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I just want to make sure that it cant be used as in the lines below: job_obj = Job.objects.get(pk=9) job_obj.update_progress(total_parts=pckg_size, total_parts_complete=pckg_completed)
Nevertheless, I can't make it work...
The text was updated successfully, but these errors were encountered:
Make sure you're committing the transaction. If you have your code in a transaction, then the progress update won't be sent to the serve until the transaction is committed.
Hey Chris,
I tried to implement update_progress in a task but nothing really happens...
From your source code, it seems like I can you the code straight from your example:
Job.update_progress(total_parts=pckg_size, total_parts_complete=pckg_completed)
So I just want to make sure that it cant be used as in the lines below:
job_obj = Job.objects.get(pk=9)
job_obj.update_progress(total_parts=pckg_size, total_parts_complete=pckg_completed)
Nevertheless, I can't make it work...
The text was updated successfully, but these errors were encountered: