Django / Python: Storing a SHA256 Hash of a file as a Base64 encoded string

I dug around on the internet for a while trying to come up with an example of how to do this as I was having trouble with the documentation.  I didn’t find many examples so I’m posting it here for anyone else that wants to do a similar thing.
Superfluous code removed…

Pretty easy…  Now you can store this in Django inside a model like this:

Happy Hacking