Hello,
I'm trying out the instantpress 2.1.2. application. It works fine on my
local
install where it's called "blog2".
When I try to access it from my web server, though, I am getting an error
that I don't understand how to fix.
<type 'exceptions.ImportError'> No module named
applications.blog2.modules.appsettings
I am able to access and edit the file "blog2/modules/appsettings.py"
but don't see anyplace in it that would contain a path.
It looks like the path is set in models/00main.py
where I have
response.menu.appenditem(T('Blog'), URL('blog2', 'default', 'index'),
name='Blog')
and this causes the error above.
I've also tried
response.menu.appenditem(T('Blog'), URL('blog2', 'default', ), name='Blog')
my routes.py contains
routes_in = (
('/admin/$anything', '/admin/$anything'),
('/appadmin/$anything', '/myapp/appadmin/$anything'),
('/blog','/blog2/default/index')
)
routes_out = [(x, y) for (y, x) in routes_in[:-2]]#
What should I check or change, please?
thanks,
Margaret
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.