tasks.py: global db connection should be created when CELERY_ON==False
tasks.py: global db connection should be created when CELERY_ON==False

kgjamieson/NEXT,nextml/NEXT,kgjamieson/NEXT,kgjamieson/NEXT,nextml/NEXT,nextml/NEXT,kgjamieson/NEXT,nextml/NEXT