Re: Parse content

2010-12-27 Thread derek
Not sure what you mean by "the model view", but its possible to create code to parse the text and use that in a specialised tag. See, for example, http://code.djangoproject.com/wiki/contentBBCode_parser On Dec 24, 4:13 pm, Jonas Geiregat wrote: > Hello, > > I have some content that is stored as

Parse content

2010-12-24 Thread Jonas Geiregat
Hello, I have some content that is stored as models.TextField(). Content is mainly text but there should be option to add additional parsing. Such as a code block [code] which should be formatting in some way. But where would you best place this code ? Inside the model view or are there options