Re: [pylons-discuss] Use route_url just after the routes are added and without request

2021-05-13 Thread QLands Software
Don't worry. I got it from: https://stackoverflow.com/questions/19656001/how-can-i-access-a-custom-section-in-a-pyramid-ini-file Thanks On Thursday, 13 May 2021 at 07:43:07 UTC-4 QLands Software wrote: > Hi Michael, > > Thanks for the answer. It works. > > Now I have a fol

Re: [pylons-discuss] Use route_url just after the routes are added and without request

2021-05-13 Thread QLands Software
l relative to it similar to what it would do if > a request was coming from an actual wsgi server. > > - Michael > > On May 12, 2021, at 15:01, QLands Software wrote: > > I have a Pyramid application that adds routes using: > > config.add_route("ho

[pylons-discuss] Use route_url just after the routes are added and without request

2021-05-12 Thread QLands Software
I have a Pyramid application that adds routes using: config.add_route("home", "/") config.add_view( homeView, route_name="home", "home.jinja2", ) The application uses PCA https://github.com/PyUtilib/pyutilib therefore

[pylons-discuss] Re: Waitress server does not stop after CTRL+C (port still listening)

2019-12-17 Thread QLands Software
I had the same problem and I noticed that it was some kind of blockage between the Browser and the WSGI application. When that happened I just refreshed the browser page and the process got killed. On Friday, 6 December 2019 18:10:32 UTC-5, Eduardo Oliveira wrote: > > I am running waitress +

[pylons-discuss] Simulating Digest Authentication with WebTest 2.0.34

2019-12-16 Thread QLands Software
Hi, I am testing my Pyramid application with WebTest and I can see in the documentation how to simulate basic authentication, however I need to simulate Digest authentication. How can I do this? -- You received this message because you are subscribed to the Google Groups "pylons-discuss"

Re: [pylons-discuss] Add header parameters in HTTPFound?

2015-01-25 Thread QLands Software
doesn't actually work that way. Pyramid is happy to let you send the Authorize header, it is not actually a valid HTTP header for the response. Maybe you want a cookie instead. Chris On Mon, Jan 12, 2015 at 10:08 AM, QLands Software qlands@gmail.com javascript: wrote: Hi, I have

[pylons-discuss] Add header parameters in HTTPFound?

2015-01-12 Thread QLands Software
Hi, I have an application where I have a view called Feeds as this: @view_config(route_name='feeds', renderer='templates/feeds/list_feeds.html') def feeds_view(request): print ** for key in request.headers.keys(): print key print **

[pylons-discuss] Re: Pyramid - fanstatic application cannot find static resources under apache wsgi module

2014-06-09 Thread qlands . software
Fixed! Had to add: fanstatic.publisher_signature = fanstatic fanstatic.use_application_uri = true to [app:main] This happens when you don't properly read the documentation ;-) https://pypi.python.org/pypi/pyramid_fanstatic On Friday, June 6, 2014 6:59:25 PM UTC+3, qlands@gmail.com

[pylons-discuss] Pyramid - fanstatic application cannot find static resources under apache wsgi module

2014-06-06 Thread qlands . software
I have a Pyramid-Fanstatic application that I created using pcreate: pcreate -s starter -s pyramid_fanstatic All works ok if I use /bin/pserve-fanstatic to start the server. However when I use the Apache WSGI module to load the app, a link like: link rel=stylesheet type=text/css