I want to use the Django template engine in my (Python) code, but I\'m not building a Django-based web site. How do I use it without having a settings.py file (and others)
While running the manage.py shell:
manage.py
>>> from django import template >>> t = template.Template('My name is {{ me }}.') >>> c = template.Context({'me': 'ShuJi'}) >>> t.render(c)