Google Groups Home
Help | Sign in
Message from discussion ImportError: No module named template_util
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Tobias  
View profile
 More options May 13, 11:24 am
From: Tobias <bruno-the-questiona...@gmx.net>
Date: Tue, 13 May 2008 08:24:43 -0700 (PDT)
Local: Tues, May 13 2008 11:24 am
Subject: Re: ImportError: No module named template_util

On 13 Mai, 13:53, Christoph Zwerschke <c...@online.de> wrote:

> Tobias schrieb:

> >   File "T:\Projekt\My-App\myapp\templates\kid.py", line 6, in <module>

> This looks suspicious. Do you have a template named "kid" (as basename,
> not as extension!). I can imagine that can cause some problems.

Yes, I had -- and yes, it did... I had a test template for the built-
in variables and just couldn't think of a better name. After cleaning
this up and restarting the server, it works now.

Ok, so it bit me that templates are compiled to modules -- and are
apparently put in sys.path before the "real" modules.

Thanks a lot,
--
Tobias


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google