[pylons-discuss] Pyramid connecting to MongoDB Replicat Set DB

2015-08-22 Thread Yannick Tchatchoua
Hello mate, I'm using Mongodb, I would like to know how to configure Pyramid in the .ini file to find the MongoDB Primary Replicat. Please advise. Cheers, -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and

Re: [pylons-discuss] tutorial with bad directory name (json)

2015-08-22 Thread Steve Piercy
Mariusz, Did you use pip? See: https://github.com/Pylons/pyramid/issues/1857#issuecomment-121414912 If you used easy_install, as the Quick Tutorial instructions say early on and why[1], and the problem still exists, then please submit a pull request. [1]

Re: [pylons-discuss] tutorial with bad directory name (json)

2015-08-22 Thread Eric Hanchrow
I think Mariusz is trying to say: using a directory named json fools Python into trying to load _that_ directory, rather than the stdlib json module. This is more or less the same problem that I described here:

[pylons-discuss] tutorial with bad directory name (json)

2015-08-22 Thread Mariusz Szot
Hi, Please, Change your directory name json, for example json_renderer, json name, causes the python looking json dumps in the directory and not site-packages. http://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/json.html exc: E