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
Apache + mod_python - can't configure server
I have got Ubuntu 10.04 (XEN) VPS. I want to set up Django server. I use apt-get to install django packages, apache, apache-mpm-prefork. Before using this configuration I saw "It works!" title, when I use ip/domain to get access to the server. After…

Dracontis
- 125
- 1
- 2
- 7
0
votes
1 answer
AWS EC2 EBS Microinstance Storage and Djangostack
I'm moving my person webpage to an Amazon EC2 free (for now) micro instance, and want to clarify some things.
Since the micro instance does not have any "local storage", when i am installing apache, django, mysql, etc., where is it going? Does it…

Li Haoyi
- 103
- 2
0
votes
3 answers
Django with Apache and Nginx
I have a webserver that is currently running in Apache with some virtualhosts... I would to deploy my django application in this server. But, I would like to use Nginx. (I cant migrate all my virtualserver to Nginx in this moment). So my question…

Thomas
- 218
- 1
- 2
- 8
0
votes
1 answer
Rackspace for Django Hosting
I am working on a project right now and I am looking for hosting solutions that might fit for it.
The project is written in Django.
I was looking at rackspace and liked it a lot from its ideas and their "fanatical" support.
Does anyone have any…

cwoebker
- 121
- 6
0
votes
2 answers
editing hosts file for local (running django and also php sites)
Right now, my http://localhost/ address for all of my php sites (which are in my Sites folder).
However, my django sites will be in my /Users/myusername/djcode/www/ folder.
How do I see my django sites through typing http://localhost/django/ but…

redconservatory
- 101
- 1
- 6
0
votes
1 answer
Problem getting mod_wsgi running with apache
Not had any problems implementing this set up before, got a new server set up at home and wanted to work on some django projects.
Im using virtualenv with virtualenvwrapper, mod_wsgi module seems to be installed correctly. here is the vhost im…

Mike Waites
- 191
- 1
- 9
0
votes
1 answer
mod_wsgi/3.2 mixing interpreters context with django on Apache2 using mod_rewrite .. why?
Long story
tl;dr:
With the configuration below Apache gets confused with Python interpreter context. I have three demo sites deployed using this setup and if you refresh them often a race condition occurs and some texts/images coming from the DB…

h3.
- 189
- 3
- 9
0
votes
1 answer
Scalability problem (Tornado). Can't figure it out, holding up launch
Thanks guys, any ideas/insight are appreciated b/c this is driving me crazy.
Problem: Only about 3 or 4 users can use the server simultaneously before app grinds to a halt.
Currently we see massive spikes in the CPU usage with normal usage. This is…

Phil W
- 1
0
votes
4 answers
502 error after adding module to a Django project running on nginx and gunicorn
I am trying to add a module to an existing Django project, but once I have done it I get a 502 error. The server is running Ubuntu. I don't think it has to do with the applications code because I got it running on the django development server. It…

thebeagle
- 151
- 1
- 1
- 5
0
votes
2 answers
Crontab not running
I am using putty to login in webfaction server. I used crontab -e command and wrote this line over there and restarted apache. According to this line it would run every minute but even after restarting its not running. But why? I want to run python…
Madhur Rampal
0
votes
2 answers
How do you separate a wsgi django/python app server from the web server?
I've built a django / python application, running on apache with wsgi, and hosted on a single amazon AWS EC2 instance.
It a custom client application, so low traffic, but one part of my application generates reports, which take a requires more horse…

Adam Morris
- 145
- 8
0
votes
2 answers
Can't restart Apache (HTTPD)
Apache has been running fine for months and restarts have run fine.
However I went to restart it today and got this:
[django - pin@e02u35]~>sudo /etc/init.d/httpd restart
…
Starting httpd: [FAILED]
All I…

Greg_the_Ant
- 489
- 7
- 26
0
votes
1 answer
Apache, Django with mod_wsgi, and large request buffering
In my setup of Apache 2.2 MPM worker and Django 1.3 with mod_wsgi 2.8, I need to support large POST request payloads. The problem is that when there are many such simultaneous requests, Apache uses up all the memory in the system and then crashes.…

Mukul
- 3
- 3
0
votes
1 answer
Distributing a Python/Django app and handling database replication
We have developed a Python/Django app which we would like to distribute to clients, so they can run it locally (on a VM). We are doing this so they can still use the app if their internet connection dies, and it will just 're-sync' to the master…

David
- 1
- 1
0
votes
2 answers
Is there a security risk for allowing people to set their DNS so their own subdomains can be route to my server?
Lets say that I have a web application, built in Django and deployed with Nginx.
Is it a good idea to offer a service that allows customers to request that a subdomain can be pointed at it.
I figured this:
If I dont allow this, then some companies…

DantheMan
- 103
- 1