Integrate Diazo in Django using Django middleware mechanism.