-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/28/2016 03:42 AM, Gerhard Schmidt wrote:
> Hi,
> 
> is there a simple way to use more than one ZODB databases in one
> Pyramid app.

If you can wean yourself from the mountpoint idea, it is quite feasible
to define different root factories[1] for separate routes (path
prefixes).  The downside is that you would not be able to store
cross-database references, as you might have with mountpoints:  I
consider that an advantage, actually.


[1] http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/hybrid.ht
ml

Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXczg5AAoJEPKpaDSJE9HYFv4P/36EUVA+nFMRNt4HqnqFXtrM
YZsLoimW2Fz5vkUoh0l2a3l5Ciqb46gQ3vTraX5tIfJDIweFlLKbA4JK9c6VxcjN
wlOjfR+a+4KuakVhPk8YZGDMS0hAEJpdMQP4PLDv66bbxhNtHPJrjoPD/y+8cGCz
NoYol7/tTVEl7IpWPAEK5XRKm3rgBRnSt+GZg8Fji8EeVrXzeax7Ol7IEUMhuJUZ
An3tgAErjw25ujMkdi2M6yto/C8YoEWkzjapqUXiLFoTIFwdif1eXryMfFvXAe+A
HjKFjGMsoYtSMbXgK7jGHx6cnXAs+aUUE5kZGvUKbhVH2erXLIUzeFbbHP3ZssBP
QNpSpfcjbE5abfCHit6utdP1p1nz9LjI6Nro7Zdcff9Hd5wCBDVkpfLyCislgfm9
V+nGhDAoPT+gCBBY/qWHeUFj3trnfEOG1GdaaCTKpRKMOg0kxtw/Asrpe/y2yLGn
KECDGh7/0IwhGWngSo2dVPqRum5unXKV+7IlrNk9sbi6/oW8NJ6pOCgzN/5P2dH3
yAer8JcfuKC7cd4XLMo+vIuxGw97xtdbnJN3VRWPvsAwuNRXypjEtropNwuf/Bha
0JLwPmHVgtdWOSQE7GuhTOqdyiK0+A7FbNO3n0VGbFcKpKZMXBkuWD/AqBK2424O
QHpB5O6ktNC79XL9uwaF
=R+vg
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/nkvd7v%24ssm%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to