Skip to main content

A Django template filter to convert ASCII punctuation into typographic punctuation HTML entities.

Project description

Django Smarty

|PyPI version|_ |Build status|_

.. |PyPI version| image::
.. _PyPI version:

**Django Smarty** is a `Django <>`_ `template filter <>`_ application to convert ASCII punctuation characters into smart typographic punctuation HTML entities with `SmartyPants <>`_. Uses the `Python smartypants <>`_ package.

* `Package distribution <>`_
* `Code repository <>`_


.. code-block:: bash

$ pipenv install django-smarty

Add to ````.

.. code-block:: python

# ...


.. code-block:: django

{% load smarty_tags %}

{{ post.body|smarty }}


.. code-block:: html


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-smarty, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_smarty-0.1.0-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-smarty-0.1.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page