Use database cache for testing Currently, the cache is not flushed between tests.
Use database cache for testing
Currently, the cache is not flushed between tests.

This can cause false positives where a previous test has been messing with cache keys which a future test uses (eg, wagtail_root_paths)

This commit makes django use the database as the cache which is automatically flushed between tests

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