Re: [Django] #36835: Add all public API classes to django.tempate.__all__ (was: [template] Adding `Library` to `__all__`)

1 view
Skip to first unread message

Django

unread,
10:17 AM (4 hours ago) 10:17 AM
to django-...@googlegroups.com
#36835: Add all public API classes to django.tempate.__all__
-------------------------------------+-------------------------------------
Reporter: Маг Ильяс DOMA | Owner: Маг Ильяс
Type: | DOMA
Cleanup/optimization | Status: new
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: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* component: Uncategorized => Template system
* easy: 0 => 1
* keywords: easy template =>
* resolution: invalid =>
* stage: Unreviewed => Accepted
* status: closed => new
* summary: [template] Adding `Library` to `__all__` => Add all public API
classes to django.tempate.__all__
* type: Bug => Cleanup/optimization
* version: 6.0 => dev


Old description:



New description:

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.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/36835#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages