Opened 19 years ago

Closed 18 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: no UI/UX: no

Description

Following the doc : http://www.djangoproject.com/documentation/templates_python/
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/defaulttags.py in load, line 650

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

Change History (4)

comment:1 by anonymous, 19 years ago

milestone: Version 0.91Version 0.92

comment:2 by Gary Wilson <gary.wilson@…>, 18 years ago

milestone: Version 0.92Version 1.0

0.92 is long gone.

comment:3 by (none), 18 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

comment:4 by Gary Wilson <gary.wilson@…>, 18 years ago

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