hi...i've install werkzeug 0.7 now
i've tried the example like manage-cupoftee, and other and it's run
but when i tried manage-webpylike.py it's give me an error
Traceback (most recent call last):
File "manage-webpylike.py", line 19, in <module>
from example import app
ImportError: cannot import name app
i don't understand why it's got error since app is exist in example
i change from example import app to import example
then change action_runserver = script.make_runserver(lambda: app) to
action_runserver = script.make_runserver(lambda: example.app)
but
AttributeError: 'module' object has no attribute 'app'
whereas work in my interpreter
>>> import example
>>> example.app
<webpylike.WebPyApp object at 0x7f305d9f9350>
or
>>> from example import app
<webpylike.WebPyApp object at 0x7f305d9f9350>
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.