Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.
/ django-verbatim Public archive

Django template block tag which renders template syntax characters within the block as normal text.

License

Notifications You must be signed in to change notification settings

aljosa/django-verbatim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-verbatim

Template block tag which renders template syntax characters within the block as normal text. This serves as an escape hatch to avoid syntax collisions when using a template language meant to be rendered on the client, not the server.

This repo is just a package for PyPI, original code: https://gist.github.com/629508 (w/ permission)

Django v1.5 should have compatible code included: https://code.djangoproject.com/ticket/14502

Quickstart

Install using pip:

$ pip install django-verbatim

Add django_verbatim to your INSTALLED_APPS.

Use in template:

{% load verbatim %}

{% verbatim %}

My name is {{ name }}.

{% endverbatim %}

Documentation

None (except quickstart).

Support and updates

You can contact me directly at [email protected], track updates at https://twitter.com/maljosa or use github issues. Be persistent and bug me, I often find myself lost in time so ping me if you're still waiting for me to answer.

License

MIT (see LICENSE)

About

Django template block tag which renders template syntax characters within the block as normal text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages