#31482: The templatetags folder doesn't need to be a package.
-------------------------------------+-------------------------------------
Reporter: Nat S Dunn | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 3.0
Severity: Normal | Resolution: wontfix
Keywords: templatetags | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
> The directory doesn't need to be a package.
Not seeing this at all. `templatetags` contains `.py` modules with the
custom tag implementations — it just is a package.
Whether there's a `__init__.py` determines whether it's a regular or
namespace package, as per [https://www.python.org/dev/peps/pep-0420/ PEP
420].
I can't see any benefit in not recommending a regular package here.
--
Ticket URL: <https://code.djangoproject.com/ticket/31482#comment:2>
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/066.1ce0680d28bf1325a6c163a8c7adfbec%40djangoproject.com.