Thanks for contributing this. The one issue I ran into was the escaping of tildes -- apparently they shouldn't be escaped. I got around this by the following:
cloudfront.sign(resource, 3600).replace('%7E', '~')
This may or may not be related: joestump/python-oauth2#15
Also: when outputting the resulting context variable in a template, I had to use |safe to prevent the escaping of ampersands.
Thanks for contributing this. The one issue I ran into was the escaping of tildes -- apparently they shouldn't be escaped. I got around this by the following:
This may or may not be related: joestump/python-oauth2#15
Also: when outputting the resulting context variable in a template, I had to use |safe to prevent the escaping of ampersands.