modified to use the tidied django-csp layout