Probable Bug, foreign key to a database view.

2022-03-26 Thread Sandeep Harlalka
class View(models.Model): field = models.CharField(max_length=4) class Meta: managed=False db_table = 'view' #database view class Child(models.Model): view = models.ForeignKey(View, on_delete=models.CASCADE, to_field='field', db_constraint=False) makemigrations on ab

Uwsgi not sending parallel all(except one) tasks to celery

2020-04-22 Thread sandeep
Hi, Im facing issue like I'm trying to send 30 parallel tasks to the celery and trying to get back the result using apply_async() but uwsgi is sending only one task to celery and not giving back the result to python code. Thing is it is working fine with flask development server but when i uwsgi