replace django debug toolbar to support 1.7