mattbriançon

dpaste testing

June 24th, 2007 by matt

I found a cool site called dpaste that syntax-highlights code using the Django framework (which I’ve recently gotten very interested in). It doesn’t have all of the popular languages but it does have support for Python and Django. Here is an example (that I want to test) of a Django template:

<p>
<h1>{{ object.question }}</h1>

<ul>
{% for choice in object.choice_set.all %}
    <li>{{ choice.choice }}{{ choice.votes }} vote{{ choice.votes|pluralize }}</li>
{% endfor %}
</ul>
</p>
No Comments

Leave A Comment