Django provides the
django.contrib.markup module for marking up text, but unfortunately, the documentation on it is pretty light. Here's a quick guide to using it:
Firstly, you'll need the Python Textile module - on Debian or Ubuntu, install the
python-textile package.
Then, add
django.contrib.databrowse to your
INSTALLED_APPS in
settings.py.
At the top of the template that you want to use the markup in, load in the module with:
{% load markup %}
...but make sure it goes
after any
extends calls.
Now, you can markup any text variables by adding
|textile to them. For example:
{{ country.notes|textile }