Django

Code

Ticket #7242 (closed: invalid)

Opened 2 months ago

Last modified 1 week ago

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

Reported by: simon Assigned to: nobody
Milestone: Component: Template system
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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.

Attachments

Change History

07/10/08 21:26:02 changed by mattmcc

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to invalid.
  • needs_tests changed.
  • needs_docs changed.

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.


Add/Change #7242 ({% load %} tag fails silently if there is a conflict modules with the same name)




Change Properties
Action