Created
April 8, 2013 05:47
-
-
Save koenbok/5334493 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def preBuild(site): | |
| from django.conf import settings | |
| if "typogrify" not in settings.INSTALLED_APPS: | |
| settings.INSTALLED_APPS.append("typogrify") |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be sure to install typogrify first:
(sudo) pip install typogrifyThen include the template tag in your template:
{% load typogrify_tags %}