Factor out saving a PIL Image to django storage.

Review Request #3903 — Created Feb. 21, 2013 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

Factor out saving a PIL Image to django storage.

Both the thumbnail and crop template tags do the same thing for taking a PIL
Image and saving it to a (potentially remote) storage. In addition, I need this
functionality in $SECRET_PROJECT, so I've factored it out into its own method.
Used this in $SECRET_PROJECT.