Opened 14 years ago

Last modified 14 years ago

#14552 closed

Suggestion for a slightly better explanation of custom template tags — at Initial Version

Reported by: ranmoshe Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In http://docs.djangoproject.com/en/dev/howto/custom-template-tags/ there is a concise explanation of how to define a custom filter. It might be good to emphasize the need for an empty init.py file in the templatetags directory - right now it just appears in a 'suggested' directory structure, and one might just ignore it if one does not understand it's mandatory - happened to me.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top