server code with Django and targeted to deploy to SAE