Jump to >

This documentation covers Djblets 1.0. You can see the latest Djblets documentation or all other versions.


quoted_email(context, template_name)[source]

Renders a specified template as a quoted reply, using the current context.

condense(parser, token)[source]

Condenses a block of text.

This will ensure that there are never more than the given number of consecutive newlines. It’s particularly useful when formatting plain text output, to avoid issues with template tags adding unwanted newlines.

quote_text(text, level=1)[source]

Quotes a block of text the specified number of times.