Django, "the web framework for perfectionists with deadlines", is a Python-based framework for creating web applications. With a powerful object-based database mapper, a clean syntax for mapping URLs to views, a simple template language and a convenient automatically generated administration interface, Django is the most popular of the Python web frameworks.
Questions tagged [django]
1012 questions
0
votes
1 answer
Configuring Django to run under PyISAPIe on IIS7
I've managed to configure PyISAPIe to run Python code (eg, a simple hello world) from a new website running on IIS7, but I can't quite figure out how to get Django up and running in the same environment.
Anyone with any tips on how to make that…

notanumber
- 127
- 4
0
votes
2 answers
Deploying Django in CentOS - Internal Server Error 500
My system:
CentOS: 5.5 x86_64 GNU/Linux
Apache/2.2.16
mod_wsgi-3.2-1.el5.x86_64
python 2.6.6
django 1.2.3
My file example.wsgi:
#!/usr/local/bin/python
import os, site, sys
# add the virtual environment…

anhtran
- 101
- 1
- 2
0
votes
2 answers
httpd (apache) won't accept (ignores) changes to vhost.conf
I'm not really used to using plesk, but I am familiar with apache. I am trying to host a django site on a server that is hosting another website. The guy who set all this up is long gone... So I edited /var/www/vhosts/domainname.com/conf/vhost.conf…

chriscauley
- 105
- 4
0
votes
2 answers
run django with fcgi on windows
I'm running Django on Windows under Apache using mod_wsgi, and I think the multi-threaded nature of this setup is causing contention for the Python GIL. I'd like to try running my system under FCGI (so I could get multiple processes), but that…

Chris Curvey
- 359
- 1
- 2
- 9
0
votes
1 answer
OSError: [Errno 122] Disk quota exceeded
hey guys, im using django 1.2.1 , and python 2.4, also i have django cms 2.1.3 beta, im using virtual hosts in my apache conf, for some reason everytime i add a new content, like text, or pictures, i get a OSError: [Errno 122] Disk quota exceeded,…

Paulo
- 103
- 1
- 5
0
votes
1 answer
Preventing Django app from causing Linux box to run out memory
One of my Linux web servers recently ran out of memory, hung itself in an OOM kill frenzy, and had to be rebooted. This is a 512 MB VPS, but it has been running without problems since it was set up months ago. How can I prevent this from happening…

Vebjorn Ljosa
- 662
- 1
- 5
- 13
0
votes
1 answer
Django, modwsgi and apache virtualhosts
I have gotten virtual hosts to work, but somehow this setup of mine is behaving strangely.
NameVirtualHost *
ServerAdmin webmaster@localhost
ServerName x.com
WSGIPassAuthorization On
WSGIScriptAlias /…

rdrey
- 103
- 5
0
votes
1 answer
Apache2 user home directory lock to root
I'm using Apache2 to deploy a django app, I've set apache2 to a different user then apache. The problem is that when the server runs the user changes but the home directory environment variabile($HOME) remains /root.Why is that ?

John Retallack
- 103
- 2
0
votes
1 answer
Problem with Postgres authentification over apache
I'm on RHEL 5.4, and I've set up a Django project using PostgreSQL as the database (I've used MySQL before, but want to try something new :) ). When I run the Django test server, everything works, I can also connect trough the command line with…

Benjamin Wohlwend
- 729
- 2
- 7
- 14
0
votes
1 answer
Limit a form post size with Apache / Django - clarification
There is already an answered question on this topic:
Limit a form post size with Apache / Django
but I'm not sure what this means: "If, for example, you are permitting file upload to a particular location" (source:…

Tomasz Zieliński
- 137
- 1
- 7
0
votes
2 answers
Django installation on Ubuntu + Apache2 +mod_python
This is my personal dev server that I recently started setting up. Although Python works as a cgi and standalone test scripts in Python run fine, Django does not seem to be working. All I see is the directory listing in browser of django files. Any…

sabertooth
- 155
- 6
0
votes
1 answer
mod_wsgi memory leak?
I've got a django app running through mod_wsgi on Apache 2 (Worker) behind an Nginx reverse proxy (also serving static content). When the app starts to get a bunch of hits concurrently, memory usage will spike from <20% to >96% and the whole…

erikcw
- 697
- 14
- 22
0
votes
1 answer
Run Mod_Python with Mod_WSGI on Apache for Django -- Segmentation fault (11)
Okay, so I have to use an existing server to run my Django web app on. The server is running Mac OS 10.6 Server. It comes with Python 2.3, 2.5, and 2.6 pre-installed. I have edited my http.conf file to include the following:
# Force python to run in…

ChrisJF
- 103
- 1
- 4
0
votes
1 answer
mysql config, mysql5, macports, python, django
This is the settings.py file for python. I set mysql up via macports (mysql5 & mysqldb)
The problem is that I am unsure if I have the configuration correct before I sync the db. The user name to connect mysql is different than the user with…

demet8
- 113
- 4
0
votes
2 answers
django import settings problem
This seems to be a common problem for many others, but none of the other fixes have helped me. Here's my apache2/sites-available file:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv…

chriscauley
- 105
- 4