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 <jo...@geiregat.org> wrote:
> 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 for implementing such behavior using the built-in template language ?
>
> Regards,
>
> Jonas Geiregat
> jo...@geiregat.org
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment