Hi, I want to use django template to process plain text file, and tried this:
from django.template import loader, Context
t = loader.get_template('my_template.txt')
however, it works for this:
from django.template import loader, Context
t = loader.get_template('my_template.html')
Can we load txt files using django template loader? how?
thanks.