-
Notifications
You must be signed in to change notification settings - Fork 67
Version 2019.3.6139 breaks Django templates #1289
Comments
@amaliaman can you provide a case to reproduce this error? I've tried with a sample code here and was not able to reproduce... also, can you provide the full stack trace as well as the django version you're using? |
Django Version1.6.1 Use CaseParent template ( {% include 'common/invite-modal.html' with chat_mode=True %} Included template ( {% if chat_mode %}{% trans 'Start a chat' %}{% else %} Until the update,
This happens with all template variables. |
The oldest Django we test with is 1.7, which is likely the reason this broke (although I'll at least add a test with the use-case with includes). @karthiknadig Django 1.6 is no longer officially supported since 2015: https://www.djangoproject.com/download/#supported-versions... so, I'm a little unsure whether we want to support it, what do you think? @amaliaman do you want to use breakpoints/exception breakpoints in Django templates or just in regular Python code? -- I think that if you don't want the breakpoints in Django templates, just removing |
@fabioz removing |
@fabioz 1.7 and greater should be fine. |
I'm closing this one in favor of #1276 (that one seems to have the same issue but with 2.1.7). |
@amaliaman commented on Sun Mar 31 2019
Environment data
Expected behaviour
Until version 2019.3.5558, django templates rendered correctly, variables passed between templates were received ok
Actual behaviour
Since version 2019.3.6139 the system crashes on start, variables are not transferred to target templates:
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: