katy lavallee thinks this is interesting: def generate(self, image_format='PNG') From 2. Stateless Web Application from Lightweight Django by Mark Lavin, Julia Elman Publisher: O'Reilly Media, Inc. Released: November 2014 Note Why should the generate function be part of the form? Share this highlight http://learning.oreilly.com/a/lightweight-django/5324854/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in.