ThanJee
ThanJee

Reputation: 3

Multithreading for Django

I'm writing web application for get data from Database(MySQL) to file.csv using Django Framework.I can get data but It take so much time to get complete successfully.I don't want to wait for get data finish. I want to continue to next activity but background still get data from Database.

My setup : Python 3.6.5, Django 2.1

Thank you for helping me.

Upvotes: 0

Views: 2026

Answers (1)

anurag
anurag

Reputation: 2246

Celery is a python package that will help you perform asynchronous tasks in Django. You can refer to First Steps With Celery for getting started. Also, I have covered a few setup issues and their solution in this post.

Upvotes: 2

Related Questions