Opened 11 years ago

Closed 11 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: master
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


For example:


{% 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 Changed 11 years ago by Matt McClanahan

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