Opened 16 years ago

Closed 16 years ago

#7242 closed (invalid)

{% load %} tag fails silently if there is a conflict modules with the same name

Reported by: simon Owned by: nobody
Component: Template system Version: dev
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

For example:

app_one/templatetags/foo.py
app_two/templatetags/foo.py

{% load foo %}

The above fails silently, but it should throw a great big scary error saying that there are two template tag packages with the same name.

Change History (1)

comment:1 by Matt McClanahan, 16 years ago

Resolution: invalid
Status: newclosed

It doesn't fail, it successfully loads the first library with a matching name. This is no more an error than having two modules of the same name on your pythonpath.

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