How do I generate a static html file from a django template?
You can leverage Django’s template loader to render your template, including whatever context you pass to it, as a string and then save that out to the filesystem. If you need to save that file on an external system, such as Amazon S3, you can use the Boto library. Here’s an example of how to … Read more