#31482: The templatetags folder doesn't need to be a package.
-------------------------------------+-------------------------------------
Reporter: Nat S | Owner: nobody
Dunn |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 3.0
Documentation |
Severity: Normal | Keywords: templatetags
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
In [https://docs.djangoproject.com/en/3.0/howto/custom-template-tags| the
documentation], it says "The app should contain a templatetags directory,
at the same level as models.py, views.py, etc. If this doesn’t already
exist, create it - **don’t forget the _ _ init _ _.py file to ensure the
directory is treated as a Python package**."
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.
--
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/051.7de3e20882f56ecf6d98ce825bf6bc48%40djangoproject.com.