#13364 closed (worksforme)
Template loader incorrectly caches template
| Reported by: | mnbayazit | Owned by: | nobody |
|---|---|---|---|
| Component: | Template system | Version: | dev |
| Severity: | Keywords: | template cache | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Code examples and a full explanation can be found here http://stackoverflow.com/questions/2655905/why-is-django-sending-the-wrong-email-template
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
| milestone: | → 1.2 |
|---|
comment:2 by , 16 years ago
| Version: | 1.2-beta → SVN |
|---|
by , 16 years ago
| Attachment: | t13364-test.diff added |
|---|
comment:3 by , 16 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