I\'m a beginner in django and I got a lot of errors when using template module from django. The following works from the python shell:
from django import templat
If you want to use the template system without the django shell, you can do:
from django.conf import settings settings.configure()
and after this your code
t = template.Template('My name is {{ name }}.')