Skip to content

Instantly share code, notes, and snippets.

@koenbok
Created April 8, 2013 05:47
Show Gist options
  • Select an option

  • Save koenbok/5334493 to your computer and use it in GitHub Desktop.

Select an option

Save koenbok/5334493 to your computer and use it in GitHub Desktop.
def preBuild(site):
from django.conf import settings
if "typogrify" not in settings.INSTALLED_APPS:
settings.INSTALLED_APPS.append("typogrify")
@koenbok
Copy link
Copy Markdown
Author

koenbok commented Apr 8, 2013

Be sure to install typogrify first: (sudo) pip install typogrify

Then include the template tag in your template: {% load typogrify_tags %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment