Hi,

I just completed the tutorial and I must say I'm quite impressed.  I
don't know if it's because it's the third web framework tutorial I've
done (Dj and TG being the other two), but I was able to finish it in one
sitting, with only one minor problem:

In section 4, we're instructed to edit models/__init__.py with the line

from quickwiki.lib.base import h

However, when I ran it that way, I get an error as follows:

Module ?:6 in ?        
<<  from pylons.templating import render, render_response
    from pylons.helpers import abort, redirect_to, etag_cache
    import quickwiki.models as model
    import quickwiki.lib.helpers as h
    import sqlalchemy.mods.threadlocal
Module myghty.importer:54 in import_module
>>  return builtin_importer(name, globals, locals, fromlist)
Module ?:2 in ?        
<<  import re
    from quickwiki.lib.base import h
    #import quickwiki.lib.helpers as h
    wikiwords = re.compile(r"\b([A-Z]\w+[A-Z]+\w+)")
exceptions.ImportError: cannot import name h

I substituted the suggested line by the commented line above and it
worked.  Other than that and a few typos here and there in the tutorial
text, everything went well.  I may have finally found what I was looking
for.

Joe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to