Hi,
we have a problem with the debug toolbar. It is working fine, when the
application is run via pserve on local development machines. When running
the application using uwsgi, the debug toolbar fails quite often. Or one
could also say, it works "sometimes", which of course makes it hard to
Hi,
for testing purposes I want to replace my authentication policy. My app has
some setup(conf) method, which expects a Configurator and configures the
app. This method also configures the authentication and authorization. In
my test code, I set up a Configurator, pass it to my setup method
Hi,
we have a single code base which is run as multiple instances for multiple
customers. We have settings which are specific to a single instance
(database connection), to a group of instances (some flag turned on or off)
and global settings. Currently we manage the settings in a json file
Hi,
I'm starting a small just-for-fun app, where I require users to login. I
don't want to implement user management on my own, so I would like to allow
only authentication via Facebook, Twitter, ... or any OAuth provider. I
looked around, but it's hard to get a clear picture what's the way to
The server did not restart, but you pointed me in the right direction: The
toolbar was running on a system running multiple workers via uwsgi.
Obviously that was the problem. Thanks for the help.
On Wednesday, September 24, 2014 5:19:05 PM UTC+2, Jonathan Vanasco wrote:
the toolbar will 404
Hi,
we are using the debug toolbar, including one custom tab developed by us.
Everything worked quite stable for a long time, but recently we encounter
some strange 404s when opening the debug infos. As it is not happening on
all machines and rather randomly, it's hard for me to provide more
Hi,
the documentation is quite clear about the Don't do that!!! regarding
usage of get_current_request(). But however I approach my problem, I end up
with get_current_request being the best solution, so I thought I should ask
for permission. ;-)
Here is my scenario:
I have some service
mentioned in the change log of zope.interface, I hope it can be
seen as a part of Pyramid.
cheers,
Achim
On Thursday, July 10, 2014 7:09:58 PM UTC+2, Chris McDonough wrote:
On 07/10/2014 08:46 AM, Achim Domma wrote:
Hi,
I'm making more and more use of ZCA in my web app. Looking
at http
Hi,
I'm making more and more use of ZCA in my web app. Looking
at http://docs.zope.org/zope.component/ I see documentation for ZCA and
Zope 3 Component Architekture. They are similar from a conceptual point
of view, but seem to differ in some API details. To me it looks like the
upper version
Hi,
I would like to modify the way, how my views are called. The idea would be,
to inject some code, which maps the request and context objects to a set
of different arguments, which are then passed to the view. To make it more
concrete:
At the moment I do something like this:
def
Hi,
I have the following two routes in my application:
/{base_id}/{sub_id}/{some_text}
/{base_id}/{sub_id}
Obviously I assume that none of these parts contains a slash, which has
just proven to be wrong. ;-) I have control over some_text, so I can make
sure, that it will not contain a slash,
Hi,
I want to develop a REST service using Pyramid + Cornice. The UI should be
implemented in AngularJS. I'm quite happy with my normal Pyramid/Python
workflow using virtualenvs, pserve for local development, ... The tool of
choice in the Javascript world seems to be http://yeoman.io/ The
To me this is quite exciting and I would be very interested in every detail
you would be allowed to share. I would be very curious how you build the
backend to sync access to a real time world engine which is shared by many
users.
cheers,
Achim
Am Donnerstag, 13. März 2014 01:16:16 UTC+1
Hi,
I have a growing web application which implements sophisticated search and
reporting functionality. To decouple some of our components, I would like
to use the ZCA, but I'm not perfectly sure how to do it.
The first question would be, how to access the registry in the correct way
during
Hi,
I have a small Pyramid app which worked fine until yesterday. In one
certain view I get the following stack trace:
Traceback (most recent call last):
File /usr/lib/python2.7/wsgiref/handlers.py, line 86, in run
self.finish_response()
File /usr/lib/python2.7/wsgiref/handlers.py, line
Hi,
I'm still struggeling with finding the best way to write higher level tests
for my app. My ideal scenario would be:
- Start with request data. For the time being just having GET requests
would be ok, so I'll start with an URL.
- I would like to generate a request instance from that URL,
16 matches
Mail list logo