Csrf token issue + Pillow prerequisite

Obtaining cookie in javascript needs csrf_token tag in view. Pillow
module must be installed.