Im trying to render a django template from a database outside of djangos normal request-response structure. But it appears to be non-trivial due to the way django templates
There is a reusable app which loads templates from the database:
http://django-dbtemplates.readthedocs.org/en/latest/