django-greeking¶
Django template tools for printing filler, a technique from the days of hot type known as greeking
Features¶
Greeking can:
Generate filler images from placehold.it, placekitten.com and Fill Murray.
Print pangrams in a variety of languages. A pangram is a phrase that includes every letter of an alphabet.
Create
Story
,Image
,RelatedItem
andQuote
objects with boilerplate text, URLs and a set of the attributes common to news.Print snippets from Lewis Carroll’s poem Jabberwocky.
Import an list of filler comments for use in greeking Django’s ‘contrib’ comments app.
Installation¶
pip install greeking
Getting started¶
Before you can use any of the template tags, you have to add the app to the
INSTALLED_APPS
your settings.py file, like so:
INSTALLED_APPS = [
"greeking",
]
And then import the library into your template.
{% load greeking_tags %}
Then you just need to call out the tag you want to use.
Credits¶
Pangrams are drawn from Markus Kuhn.
Comments drawn from the work of giants of our time.
Comments¶
An object_list of filler comments for use in greeking content for Django’s popular comments application.