#13364 closed (worksforme)
Template loader incorrectly caches template
Description ¶
Code examples and a full explanation can be found here http://stackoverflow.com/questions/2655905/why-is-django-sending-the-wrong-email-template
Change History (5)
comment:1 by , 15 years ago
milestone: | → 1.2 |
---|
comment:2 by , 15 years ago
Version: | 1.2-beta → SVN |
---|
by , 15 years ago
Attachment: | t13364-test.diff added |
---|
comment:3 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Ideally you should be reducing your test case to a minimal one: If you are seeing a problem with template loading you should create a test for that and isolate it from the multi-part email assembling.
Anyways, I've converted your example to a test case added to the mail regression test of the Django test suite (see patch attached to this ticket) and it works correctly. Please seek further help in the django-users mailing list or the #django IRC channel in Freenode.
Patch for Django mail regressiontests demonstrating this works