Closed devpranoy closed 6 years ago
I had not added www. in allowed_hosts. Fixed. Can you explain the threading part?
Ohh no worries about the threading, Django takes care of it. In Flask tho you need to specify that it has to be threaded otherwise it would not serve multiple user-requests at the same time.
I think your heroku dyno has expired due to the heavy traffic. Please shift the project to AWS or Digital Ocean or upgrade the dyno. Make sure to thread the app while it's running on production.