#35738: Deprecate double-dot variable lookups
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Sanjeev
Type: | Holla S
Cleanup/optimization | Status: assigned
Component: Template system | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sanjeev Holla S):
Replying to [comment:10 Natalia Bidart]:
> Hello Sanjeev!
>
> The process of how to deprecate a feature are described in this link:
https://docs.djangoproject.com/en/5.1/internals/contributing/writing-code
/submitting-patches/#deprecating-a-feature
>
> In there you'll find details on how the process should be done, what
code change should be there and what tests we require.
Hey!
Sure I'll look into it. Actually I have added the warning similar to how
its mentioned in the doc but since it was suggested to show the `template`
name and line number which triggered the warning in the warning message, I
have added that functionality as well, but not sure if that would be fine
to go ahead with. So please check my PR once and confirm. Meanwhile I'll
add the tests for these in the PR
--
Ticket URL: <https://code.djangoproject.com/ticket/35738#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070191d961487e-e63fc05e-acb2-4e1c-9601-32ac88ee8e51-000000%40eu-central-1.amazonses.com.