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
3
votes
1 answer
Apache2 mod_wsgi python 2.6 Django very slow
I've tried about 1000x things, but I can't seem to figure out why a simple django website is slow using apache 2.2.14/wsgi latest / django 1.3. I've confirmed the problem isn't our database by turning on mysql slow query logging. I've reviewed the…

Jonathan S. Fisher
- 434
- 4
- 19
3
votes
3 answers
Getting more database performance - postgresql
There is a django "web application" (from hell) we are hosting on a dedicated server. After some benchmarking I found that the "Application" is amazingly bad at database operations (refactoring is not an option at this time). It generates an ungodly…

strzelecki.maciek
- 189
- 2
- 11
3
votes
1 answer
virtualenv gcc error MySQL-python
I am trying to install MySQL-python through PuTTY with virtualenv.
Specs.
*CentOS-6.0
*Python2.6
So I have read many sites and the biggest thing I see is python-dev, and python-devel(btw I don't know the difference). I cannot get these to install,…

Nathan McAfee
- 33
- 1
- 4
3
votes
3 answers
Beginner installing first app on EC2 bitnami stack
Beginner question here. Its probably obvious to someone who does this stuff all the time. But I'm having difficulty setting up django running on an EC2 bitnami instance.
I setup my server and I'm able to log in. Just to test this I setup the…
codingJoe
3
votes
2 answers
Is Amazon EC2 for me?
I'm working on an image hosting website tailored to a particular niche. The website is made with Django. I'm currently planning to run it on Linode.
So far so good. The problem is: I will need to perform very CPU-intensive tasks on high resolution…

Salvatore Iovene
- 131
- 2
3
votes
1 answer
Document and best practices for configuration of a dedicated server (Centos) to serve just one website
I have just bought a dedicated server and they provide me a IP address, access info as root and machive with Centos 5.
I would like to serve my django app in that machine but because I have no experiences such server issues I don't know what is the…

brsbilgic
- 153
- 6
3
votes
5 answers
Lightweight web server for Django with small workloads
I'm writing a small app in Django that will be used as admin interface for a set of applications usually configured by text files. It won't do much (parse user input, convert db entries into flat files and display pretty tables with info) and most…

galo
- 153
- 4
3
votes
2 answers
Attempting to run Django with start Apache2 mod_wsgi on Ubuntu Lucid Lynx without success
I have a small vps with a minimum install of ubuntu lucid-lynx with about 256mb memory, it's newly installed with nothing special running on it. I'm trying to deploy django to it, while I'm successfully running the server using manage.py, I can't…

Kit Sunde
- 946
- 3
- 12
- 33
3
votes
2 answers
Apache : Map one virtualhost to a subdirectory of another virtualhost
I'm trying to map one virtual host to a subdirectory of another virtual host, something like this http://host2.com -> http://host1.com/host2. At this moment, whenever I go to http://host2.com it maps to http://host1.com instead of…

Neo
- 265
- 2
- 6
- 12
3
votes
2 answers
Apache : Making one virtual host subdomain/subdirectory of another virtual host
My setup is a bit awkward. I've got http://sub.main.com mapped to my server's IP but not the http://main.com. I am running two sites on my server(using different web frameworks). For each of those sites I've got virtual hosts configured in default…

Neo
- 265
- 2
- 6
- 12
3
votes
3 answers
We are moving to two servers from one server due to performance issues. How do we monitor the value of this change?
We are moving to two servers from one server due to performance issues. We are moving our MySQL DB to its own dedicated server and will keep the original machine as the front end machine running nginx/apache (Django backend.)
How do we monitor the…

MikeN
- 8,442
- 5
- 23
- 18
3
votes
1 answer
Nginx + Django + FastCGI WSGI error? (Non fatal)
I am running django on top of nginx with fastcgi.
When i do runfcgi, I am seeing these errors:
python manage.py runfcgi daemonize=false host=127.0.0.1 port=8000
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing…

xjq233p_1
- 243
- 2
- 6
3
votes
2 answers
Nginx / uWsgi / Django site can handle more traffic with rewrite URL
I'm running a Django app, using uWsgi behind Nginx. I've been doing some performance tuning and load testing using ApacheBench and have discovered something unexpected which I wonder if someone could explain for me. In my Nginx config I have a…

Ludo
- 1,099
- 3
- 10
- 11
3
votes
1 answer
Deploying a Django application in a virtual Ubuntu Server
I have a virtualbox machine running Ubuntu Server 10.04LTS. My intention is to this machine to work like a VPS, this way I can learn and prepare for when I get a VPS service.
Apache+mod_wsgi for deploying the Django app seems the right choice to…

mfsaint
- 201
- 2
- 2
3
votes
2 answers
what is the better hosting for django?
I need to serve a Django App online, but, what is the best hosting for this Framework?

eos87
- 133
- 4