Generate a page and save as HTML

Is there a way to generate content, and then save the resulting HTML
(including application layout, etc) ?

Aldric G. wrote:

Is there a way to generate content, and then save the resulting HTML
(including application layout, etc) ?

Well, you could use page caching. :slight_smile:

If you need more flexibility, try render_to_string.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Marnen Laibow-Koser wrote:

Aldric G. wrote:

Is there a way to generate content, and then save the resulting HTML
(including application layout, etc) ?

Well, you could use page caching. :slight_smile:

If you need more flexibility, try render_to_string.

I will play with that; thanks.