I am storing my templates in the database and I don't have any path to provide for the template.render
method.
Is there any exposed method which accepts the template as a string?
Is there any workaround?
I am storing my templates in the database and I don't have any path to provide for the template.render
method.
Is there any exposed method which accepts the template as a string?
Is there any workaround?
Based on the the docs for using the template system:
Instantiate
Template
with the string to use as a template.In Django < 1.8: