Replacing custom middleware for CORS with the django-cors-headers app