Kristoffer wrote:
> So, I have decided to use Docutils now, but I am a bit lost.
> How do I do this http://code.djangoproject.com/wiki/UsingMarkup with
> Docutils?
>
> Thanks,
> Kristoffer
Kristoffer,
I think that document is a little misleading. Its more about saving the
post-processed HTML output from one of the markup filters *in* your
model to increase the performance of your site. Its not necessary to
use one of the markup filters.
I have a post on my blog where I describe how I added markdown support.
You should be able to follow the same steps, but instead of
{{ object.body|markdown }}
you would use
{{ object.body|restructuredtext }}
Of course you need to install Docutils, first.
http://davidavraamides.net/blog/2006/05/23/markdown-support/
-Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---