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
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
2 matches
Mail list logo