mirror of
https://github.com/django/django.git
synced 2025-01-26 18:19:18 +00:00
cfda1fa3f8
Prior to 55f12f8709, the template origin was available on each node via `self.token.source[0]`. This behavior was removed when debug handling was simplified, but 3rd-party debugging tools still depend on its presence. This updates the Parser to set origin on individual nodes. This enables the source template to be determined even when template extending or including is used.