On Fri, Aug 21, 2015 at 03:32:11PM +0100, Stephen Finucane wrote: > Django creates test databases after it loads tests. However, any > operations that exist at class level will be executed before this > database is created. Fix the instances of this issue (mostly 'reverse' > calls or similar) by moving the calls into the relevant 'setUp' > functions for each test. > > Signed-off-by: Stephen Finucane <stephen.finuc...@intel.com>
I still don't get why the reverse() calls at the class level are problematic as they don't do any DB operation, mind enlightening me? -- Damien _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork