Closed stevepiercy closed 8 years ago
On behalf of Robert Daniels. See: https://groups.google.com/d/msg/pylons-discuss/O6QPYl7YXFo/WEeG7EPI1YAJ
In https://github.com/Pylons/pyramid_tutorials/blob/master/quick_traversal/sqladdcontent.rst
Step 2 - has a typo in "sqltraveral.py", should be "sqltraversal.py"
Since the code is started from copying from the sqlroot project (step 1), you end up inheriting an __init__.py that has a bad reference :
__init__.py
from .models import ( DBSession, Base, root_factory )
which now lives in the new file squtraversal.py
squtraversal.py
So the necessary changes to __init__.py are missing on that last tutorial.
Fixed in https://github.com/stevepiercy/pyramid_tutorials/commit/18f851fcc3110cb5e3aa518b83da9778e11c66ee
On behalf of Robert Daniels. See: https://groups.google.com/d/msg/pylons-discuss/O6QPYl7YXFo/WEeG7EPI1YAJ
In https://github.com/Pylons/pyramid_tutorials/blob/master/quick_traversal/sqladdcontent.rst
Step 2 - has a typo in "sqltraveral.py", should be "sqltraversal.py"
Since the code is started from copying from the sqlroot project (step 1), you end up inheriting an
__init__.py
that has a bad reference :which now lives in the new file
squtraversal.py
So the necessary changes to
__init__.py
are missing on that last tutorial.