Opened 12 years ago

Closed 11 years ago

#1430 closed defect (worksforme)

custom templatetags, custom tag/filter definitions file naming convention.

Reported by: coulix Owned by: Adrian Holovaty
Component: Template system Version: 0.91
Severity: minor Keywords: template templatags filter
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Following the doc :
I picked filters_extras for the tag/filter definitions file name.
Resulting in

Exception Type:  	TemplateSyntaxError
Exception Value: 	'filter_extras' is not a valid tag library: Could not load template library from django.templatetags.filter_extras, No module named filter_extras
Exception Location: 	/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/template/ in load, line 650

After trial and errors it comes from the word "extras",

Change History (4)

comment:1 Changed 12 years ago by anonymous

milestone: Version 0.91Version 0.92

comment:2 Changed 12 years ago by Gary Wilson <gary.wilson@…>

milestone: Version 0.92Version 1.0

0.92 is long gone.

comment:3 Changed 11 years ago by (none)

milestone: Version 1.0

Milestone Version 1.0 deleted

comment:4 Changed 11 years ago by Gary Wilson <gary.wilson@…>

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top