I have written a Django program which copies information stored in the Django model into Google calendar. So, a user logs in, selects some parameters and clicks the Update calendar button. The updating takes about 2 or 3 minutes. Meanwhile, the user doesn't get any feedback from the application. It is a bit, unprofessional. So I thought to make the updating process asynchronous. I tried threading and it works beautifully. But threads are not allowed in pythonanywhere.
I also thought about a scheduled task. I use the Django OAuth Toolkit. This toolkit requires that the user has to authorize the connection between the Django app and the Google calendar, so that the application can modify the calendar. I think that background tasks cannot be used in this case.
I have run out of ideas
Can you help me how to deal with this problem without threads?