Basilisk96 wrote: > Now, I want to take the next step - generate flatpage.content > dynamically so that I can show my Trac webpages within my context. > According to the flatpage documentation, this can be done via the API. > > I'd like to know - what is the best practice to approach this?
My vote would be to write a custom view that extends the flatpage view. You could then make the flatpage.content whatever you want. Another option would be to put the name of the trac page into the flatpage content, and then write a custom template filter that would look up the trac page by name, and insert the data into the page. Choose your poison Cheers! Jeff Anderson
signature.asc
Description: OpenPGP digital signature