On Tue, Apr 15, 2014 at 11:18 PM, Zagfai Kwong <[email protected]> wrote:

> There are some examples in the official website.
>
> On Tuesday, March 18, 2014 5:37:05 PM UTC+8, cwalet wrote:
>>
>> I tried to create some sub-packages into the dir: controllers, I make the
>> dir "subdir" under "controllers",and then write it down to the app.py like
>> this:
>>
>> urls = {
>>     '/abc/test',      'controllers.subdir.test.View'
>> }
>>
>> app = web.application(urls, globals())
>>
>> but after restart web.py didn't find the class test,I don't know why and
>> how to fix it.
>> Any help would be so nice to me,thx!
>>
>
This is going to take basic Python debugging skills.

Check your path, and check for missing __init__.py files.



Dustin

>  --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/webpy.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to