Opened 13 years ago

Closed 13 years ago

#4836 closed (invalid)

User template-tag behavior inconsistent between apache2 mod_python and development server

Reported by: pootow@… Owned by: Adrian Holovaty
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


If the template-tag name and the project's name are the same, then, development server runs fine, and mod_python breaks.

Change History (3)

comment:1 Changed 13 years ago by pootow@…

for example:

if my project's name is "myproject", and I have a application "myapp".

The directory structure follows the default rule.

I have a "tamplatetags" directory in "myapp", and "" is just in that "templatetags" directory.

That's it.

comment:2 Changed 13 years ago by Graham.Dumpleton@…

What is the actual exception traceback you get?

Are you sure this isn't a configuration problem with your mod_python setup whereby you haven't set PythonPath directive properly based on how you are using Django.

See post:

You may have to add the actual site directory as well as the parent directory to PythonPath.

The post talks about urls file, but may also apply to your case.

comment:3 Changed 13 years ago by Simon G. <dev@…>

Resolution: invalid
Status: newclosed

marked as invalid until someone can confirm this w.r.t Graham's comment above. If this is a valid clash, and not a config. glithc please re-open.

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