Separate settings of celery and pgsql in tasks.py