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!
--
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.