Problems with template context #411
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
@CleitonDeLima Can you give the full stack trace so we can see where this happens? |
Beta Was this translation helpful? Give feedback.
-
Relevant ticket: https://code.djangoproject.com/ticket/24765 |
Beta Was this translation helpful? Give feedback.
-
Maybe the problem is when rendering the component, the first |
Beta Was this translation helpful? Give feedback.
-
If changing the line of code that you suggest doesn't break any of the existing tests I'm open to changing it. Feel free to open a PR! I'd suggest adding a test too so we don't accidentally break this in the future. |
Beta Was this translation helpful? Give feedback.
-
@CleitonDeLima We think we fixed it in 0.63 that was just released. We were creating a Context class from the incoming context data. Problem is, when we got a Context we were wrapping a Context in a Context, resulting in the above error downstream. Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
@CleitonDeLima We think we fixed it in 0.63 that was just released. We were creating a Context class from the incoming context data. Problem is, when we got a Context we were wrapping a Context in a Context, resulting in the above error downstream. Thanks for reporting!