Opened 3 weeks ago

Last modified 3 weeks ago

#36835 assigned Cleanup/optimization

Add all public API classes to django.template.__all__

Reported by: Маг Ильяс DOMA Owned by: SnippyCodes
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Маг Ильяс DOMA Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no

Description (last modified by Tim Graham)

Some convenience imports in django.template aren't present in __all__. If they were added to __all__, the # NOQA annotations for unused variables could be removed.

Change History (7)

comment:1 by Jacob Walls, 3 weeks ago

Has patch: unset
Resolution: invalid
Status: assignedclosed

comment:2 by Tim Graham, 3 weeks ago

Component: UncategorizedTemplate system
Description: modified (diff)
Easy pickings: set
Keywords: easy template removed
Resolution: invalid
Status: closednew
Summary: [template] Adding `Library` to `__all__`Add all public API classes to django.tempate.__all__
Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization
Version: 6.0dev

comment:3 by SnippyCodes, 3 weeks ago

Owner: changed from Маг Ильяс DOMA to SnippyCodes
Status: newassigned

comment:4 by SnippyCodes, 3 weeks ago

Has patch: set

Submitted a PR to address this cleanup: "https://github.com/django/django/pull/20477"

comment:5 by Jacob Walls, 3 weeks ago

Summary: Add all public API classes to django.tempate.__all__Add all public API classes to django.template.__all__

comment:6 by Jacob Walls, 3 weeks ago

Has patch: unset

PR had make toast contents.

comment:7 by Jacob Walls, 3 weeks ago

Has patch: set
Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top