django-wsgi
What is the difference between these two configurations to run Django?
I have these two configurations. I would like to know what\'s the difference and which one is better and faster?[详细]
2023-04-11 18:11 分类:问答Where does python get the value for path when running Django/WSGI
In brief: views.py: def display_path(request): import os return HttpResponse(\"The path is %s\" % os.path.abspath(\".\"))[详细]
2023-04-02 00:38 分类:问答Problem in loading web page when using polyval, polyfit using numpy
I am using django1.3. in CentOS5. My python version is 2.6 and using the numpy 1.6.1. I used in views.py a function which calculate the regression line.[详细]
2023-03-26 11:05 分类:问答django authentication for static files
I have a set of static files (that get uploaded through the application) like images, video, etc. that need to be served to authenticated users (i.e. their cookie is registered as authenticated in the[详细]
2023-03-20 07:21 分类:问答Mod_wsgi syntax error: "Invalid command import"
i\'m trying to setup mod_wsgi to serve my django media files (i want to use this also in a developement env)[详细]
2023-03-20 01:32 分类:问答Django query executed in view returns old data
I have a view which queries a model to populate a form: class AddServerForm(forms.Form): …snip… # Compile and present choices for HARDWARE CONFIG[详细]
2023-03-04 18:52 分类:问答wsgi + Django: SOAPpy(pyXML) modules Import Error
In the command line the code works perfect, but throw import error when use django + mod_python or wsgi +apache[详细]
2023-02-14 15:09 分类:问答django apache css error 500
I recently started a site using django mingus, but the problem is that the css are not showing, Im getting a serve开发者_如何学Gor internal error 500 when serving the media files.[详细]
2023-02-11 06:33 分类:问答Problems rendering a view with tidy (Django + Apache mod_wsgi)
When running under the in-built development server, all runs fine. However, when running under mod_wsgi in Apache, the following code (a replacement method for django.shortcuts.render_to_response) c[详细]
2023-01-21 06:41 分类:问答Django sys.path.append for project *and* app needed under WSGI
Could somebody give me a pointer on why I need to add my project root path to the python path as well as the application itself in my WSGI file?[详细]
2022-12-24 07:18 分类:问答