Extending Django Flatpages to accept template tags

Posted by Tristan on Stack Overflow See other posts from Stack Overflow or by Tristan
Published on 2010-06-17T23:12:00Z Indexed on 2010/06/17 23:43 UTC
Read the original article Hit count: 483

Filed under:
|
|

I use django flatpages for a lot of content on our site, I'd like to extend it to accept django template tags in the content as well.

I found this snippet but after much larking about I couldn't get it to work. Am I correct in assuming that you would need too "subclass" the django flatpages app to get this to work? Is this best way of doing it? I'm not quite sure how to structure it, as I don't really want to directly modify the django distribution.

© Stack Overflow or respective owner

Related posts about python

Related posts about django