more separation between django and the apache frontend