Modified tasks.py to use celery only if available
Modified tasks.py to use celery only if available

Please see the comments inside tasks.py.
TL;DR: Defines a fake "task" decorator - the fake
decorator was needed to add the delay() attribute
to the send_notification function

kaedroho/wagtail,dresiu/wagtail,gogobook/wagtail,Klaudit/wagtail,quru/wagtail,chimeno/wagtail,Tivix/wagtail,kurtrwall/wagtail,torchbox/wagtail,m-sanders/wagtail,nimasmi/wagtail,WQuanfeng/wagtail,Pennebaker/wagtail,Toshakins/wagtail,willcodefortea/wagtail,quru/wagtail,m-sanders/wagtail,zerolab/wagtail,jorge-marques/wagtail,thenewguy/wagtail,dresiu/wagtail,jnns/wagtail,inonit/wagtail,iho/wagtail,FlipperPA/wagtail,iansprice/wagtail,Klaudit/wagtail,jordij/wagtail,marctc/wagtail,janusnic/wagtail,davecranwell/wagtail,rsalmaso/wagtail,gasman/wagtail,inonit/wagtail,quru/wagtail,lojack/wagtail,takeshineshiro/wagtail,rsalmaso/wagtail,chimeno/wagtail,Pennebaker/wagtail,darith27/wagtail,takeshineshiro/wagtail,gogobook/wagtail,torchbox/wagtail,jorge-marques/wagtail,kurtw/wagtail,taedori81/wagtail,rjsproxy/wagtail,tangentlabs/wagtail,tangentlabs/wagtail,chimeno/wagtail,benemery/wagtail,WQuanfeng/wagtail,100Shapes/wagtail,JoshBarr/wagtail,darith27/wagtail,stevenewey/wagtail,nutztherookie/wagtail,jorge-marques/wagtail,rjsproxy/wagtail,takeflight/wagtail,dresiu/wagtail,davecranwell/wagtail,davecranwell/wagtail,inonit/wagtail,kurtw/wagtail,chimeno/wagtail,lojack/wagtail,FlipperPA/wagtail,janusnic/wagtail,takeflight/wagtail,jorge-marques/wagtail,janusnic/wagtail,serzans/wagtail,Tivix/wagtail,mixxorz/wagtail,nimasmi/wagtail,hamsterbacke23/wagtail,hanpama/wagtail,timorieber/wagtail,jnns/wagtail,benemery/wagtail,taedori81/wagtail,mephizzle/wagtail,Pennebaker/wagtail,kurtrwall/wagtail,gasman/wagtail,jordij/wagtail,mikedingjan/wagtail,iho/wagtail,nilnvoid/wagtail,wagtail/wagtail,jnns/wagtail,nrsimha/wagtail,nrsimha/wagtail,mjec/wagtail,nealtodd/wagtail,kurtw/wagtail,rv816/wagtail,darith27/wagtail,janusnic/wagtail,mephizzle/wagtail,rv816/wagtail,timorieber/wagtail,rv816/wagtail,helenwarren/pied-wagtail,jorge-marques/wagtail,benjaoming/wagtail,Tivix/wagtail,JoshBarr/wagtail,WQuanfeng/wagtail,Klaudit/wagtail,dresiu/wagtail,benjaoming/wagtail,chrxr/wagtail,zerolab/wagtail,tangentlabs/wagtail,tangentlabs/wagtail,wagtail/wagtail,iho/wagtail,willcodefortea/wagtail,iansprice/wagtail,kurtrwall/wagtail,nilnvoid/wagtail,rjsproxy/wagtail,nealtodd/wagtail,chimeno/wagtail,nutztherookie/wagtail,mikedingjan/wagtail,taedori81/wagtail,gasman/wagtail,iansprice/wagtail,mjec/wagtail,Toshakins/wagtail,FlipperPA/wagtail,thenewguy/wagtail,thenewguy/wagtail,kaedroho/wagtail,rsalmaso/wagtail,takeshineshiro/wagtail,inonit/wagtail,mayapurmedia/wagtail,hamsterbacke23/wagtail,mixxorz/wagtail,helenwarren/pied-wagtail,mixxorz/wagtail,benemery/wagtail,stevenewey/wagtail,wagtail/wagtail,kurtw/wagtail,Toshakins/wagtail,marctc/wagtail,KimGlazebrook/wagtail-experiment,kaedroho/wagtail,hanpama/wagtail,gogobook/wagtail,marctc/wagtail,nrsimha/wagtail,mixxorz/wagtail,iansprice/wagtail,kaedroho/wagtail,timorieber/wagtail,jordij/wagtail,kaedroho/wagtail,davecranwell/wagtail,timorieber/wagtail,serzans/wagtail,zerolab/wagtail,WQuanfeng/wagtail,chrxr/wagtail,m-sanders/wagtail,rsalmaso/wagtail,gasman/wagtail,hanpama/wagtail,nutztherookie/wagtail,willcodefortea/wagtail,KimGlazebrook/wagtail-experiment,JoshBarr/wagtail,100Shapes/wagtail,m-sanders/wagtail,bjesus/wagtail,benjaoming/wagtail,nimasmi/wagtail,jordij/wagtail,nilnvoid/wagtail,Klaudit/wagtail,mephizzle/wagtail,serzans/wagtail,stevenewey/wagtail,mayapurmedia/wagtail,taedori81/wagtail,serzans/wagtail,bjesus/wagtail,FlipperPA/wagtail,nilnvoid/wagtail,takeflight/wagtail,mjec/wagtail,mephizzle/wagtail,iho/wagtail,bjesus/wagtail,hamsterbacke23/wagtail,Tivix/wagtail,darith27/wagtail,zerolab/wagtail,thenewguy/wagtail,takeflight/wagtail,benemery/wagtail,rv816/wagtail,KimGlazebrook/wagtail-experiment,nealtodd/wagtail,rsalmaso/wagtail,quru/wagtail,willcodefortea/wagtail,mayapurmedia/wagtail,mikedingjan/wagtail,nimasmi/wagtail,thenewguy/wagtail,rjsproxy/wagtail,torchbox/wagtail,hamsterbacke23/wagtail,Pennebaker/wagtail,mjec/wagtail,JoshBarr/wagtail,marctc/wagtail,mikedingjan/wagtail,benjaoming/wagtail,hanpama/wagtail,gasman/wagtail,KimGlazebrook/wagtail-experiment,Toshakins/wagtail,nealtodd/wagtail,100Shapes/wagtail,jnns/wagtail,helenwarren/pied-wagtail,bjesus/wagtail,nutztherookie/wagtail,takeshineshiro/wagtail,nrsimha/wagtail,kurtrwall/wagtail,mixxorz/wagtail,dresiu/wagtail,zerolab/wagtail,lojack/wagtail,chrxr/wagtail,chrxr/wagtail,wagtail/wagtail,stevenewey/wagtail,wagtail/wagtail,taedori81/wagtail,gogobook/wagtail,mayapurmedia/wagtail,torchbox/wagtail