Opened 8 years ago

Last modified 8 years ago

#27703 closed New feature

[Feature request] Template language type annotations — at Version 1

Reported by: a1fred Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by a1fred)

Hi guys!

Please add some tag for annotate context variable type in templates.

Something like

  {{ var request 'django.http.HttpResponse' }}

Why?
Now we have PEP 484 and awesome editors support. This feature help implement similar in templates.

Change History (1)

comment:1 by a1fred, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top