Mongodb pyramid forests are not activated after installation

I installed Pyramid 1.3.x and pyramid_mongodb, but it does not appear when I run pcreate --list-templates .

+4
source share
2 answers

I understand that the material is registered to work with the pyramid forests, making it the entry point [pyramid.scaffold] . In addition, pyramid_mongodb has a dependency on PasteScript (* see update ).

The problem is that the setup.py file is missing information about the pyramid_mongodb file. I forked the github repository and fixed it so that it works in the future.

Update : The dependency on PasteScript is not entirely suitable, and I will update it soon on github. The issue of supporting multiple scaffolding versions is documented on the Pyramid website

+1
source

This is also not indicated for me, but you can still run ./bin/pip install pyramid_mongodb to install with these parameters.

When starting pserve development.ini you may get the error pymongo.errors.ConnectionFailure: If you install MongoDB and start the daemon, your Pyramid application should connect.

0
source

Source: https://habr.com/ru/post/1393602/


All Articles