http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#adding-a-custom-setting
You can use request.registry.settings, config.registry.settings, and other means, depending on the place in the code. --Paul On Thursday, January 17, 2013 6:25:15 AM UTC-5, Andreas Jung wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I added some extra app specific sections to the ini file of > my Pyramid application. How can I get hold of the settings > from within my app (pyramid.config)? > > Andreas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQGUBAEBAgAGBQJQ99+aAAoJEADcfz7u4AZjox4LvjlkavWCKerUcGUVWLwufSo6 > A0BkOzOwunj+U0j+RGUWt2ujaJ8HN3q7tySF1Kth/LObAFuqCACBQCkRzWfQF5xD > M7v7V6XrnoEbt78myIv9/eQwHXCFJhECgNycLwnGKHYfLCqv44qGvQok0yi5g2py > 2SingfsQjPEv9J7hUL68ouW5rsUmNdwgxiZf2+crsHyrE3JUkCxZcNJK0J3S9g7D > 7JYS6+BR0uAoKetEzDGSvKWppU6PesYqbf0tGhZVg9/Bxu0j5+jHWMihS3BvHab2 > T7JcIEnrH1g8OI9PSabsD2WKdZQG5Lq8gsEj7ZENoXKKNgCGlaGd0oNxUaPwqalr > acWMbGIXRq4woOghNt4chyfP5XtvBbDC7iuGlB++tQyoWg2yxIQidQTJqqF+kmJY > jq9Qoxtd4Cw/ud1QZL/tMK5UfxYx80n5GOFr4aTJ/507c40WZ7LV0bcVDOYkjDSc > FRhF86KPlqvECWRAMAOz8waoM/5KTYE= > =oDpZ > -----END PGP SIGNATURE----- > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/XmLyfMu87ecJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
