The directory doesn't need to be a package.
--
Ticket URL: <https://code.djangoproject.com/ticket/31482>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: Ian Bottomley (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/31482#comment:1>
* 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>