moved middleware changes to other branch
Prepare django_diazo 1.0.