When a template is used in the command/task I get the error TemplateDoesNotExist, as if they were not loaded in the settings Examples of tasks: - sending emails with associated templates - xml creation with associated template Maybe this will help: - https://uwsgi-docs.readthedocs.io/en/latest/Embed.html#step-4-adding-templates - https://github.com/unbit/django-uwsgi/blob/master/django_uwsgi/template.py