WSGI
wsgi + django - permissions for files
when deploying with wsgi and django, what should be files\' permissions in order to get the application running? I\'ve read+execute for others but once i remove execute permission to the files seems l[详细]
2023-04-03 08:20 分类:问答Python 3.x WSGI Testing framework
Given that webtest doesn\'t seem to have a 3.x version (or any plans to develop one), are there any solutions for automated system testing of a WSGI application? I know unittest for unit testing - I\'[详细]
2023-04-02 04:53 分类:问答Apache not able to load stylesheets and scripts in Django's static directory
I am developing a site using Django. Up until now, when I have used it in a developement environment it was working fine, loading all stylesheets and scripts normally. However, I have currently shifte[详细]
2023-04-02 04:44 分类:问答Running pdb in daemon mode with WSGI
I am running a Python script开发者_运维问答 on Apache 2.2 with mod wsgi. Is it possible to run pdb.set_trace() in a python script using daemon mode in wsgi?[详细]
2023-03-31 13:56 分类:问答HTTPS to HTTP using CherryPy
Is it possible for CherryPy to redirect HTTP to HTTPS. Lets for example say the code below is http://example.com if someone visits via https://example.com I want them to be redirected to the plain HTT[详细]
2023-03-31 10:10 分类:问答Portable Python - getting Django to work on Apache?
I am using Windows 7, Apache 2.28 and Web Developer Server Suite for my server. All files are stored under C:/www/vhosts[详细]
2023-03-31 08:29 分类:问答Blocking calls with Gevent and WSGI
I\'ve just started working with coroutines and have read up on gevent and greenlets. For a test I served this code through gevents pywsgi module:[详细]
2023-03-29 00:14 分类:问答How do I pass values from one class to another; each running potentially on different threads?
I have a file called filterspecs.py that contains 3 things: tls = threading.local() class A which inherits from django.contrib.admin.views.main.ChangeList[详细]
2023-03-27 22:04 分类:问答python + django: unable to find module with Popen
I use subprocess.Popen in one of the my views: path = os.path.join(os.path.dirname(__file__), \'foo/bar.py\')[详细]
2023-03-27 01:08 分类:问答Web-development for high-load in Python [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-26 16:20 分类:问答