Full Stack TurboGears: Wiki in 20 Minutes

37 views
Skip to first unread message

Cedric Ongoro

unread,
Sep 19, 2021, 11:39:22 AM9/19/21
to TurboGears
Hi there,

i am new to Turbogear. I am trying out the tutorial and I and having a problem Loading
from wiki20.model.page import Page in the wiki20 model.

It gives me this error:
cannot import name 'DeclarativeBase' from partially initialized module  'wiki20.model'

I have done excactly as it says in the tutorial. Has anyone else had the same issue ?

Simone Gasbarroni

unread,
Feb 2, 2022, 5:34:59 AM2/2/22
to TurboGears
probably you miss model and sqla configuration on model.py or in the __init__.py module inside model package
Reply all
Reply to author
Forward
0 new messages