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 ...

learn more… | top users | synonyms

1
vote
1answer
137 views

Apache and Django

I have RHEL 6 running Apache and a Django application connected via WSGI. When I run service httpd start, I get a segmentation fault (in my error logs) and it reports something about "Premature end ...
1
vote
1answer
392 views

Web server redirect to port 80

I need help for this problem. My django applications using mod_wsgi, apache and reverse proxy using nginx. the nginx is listen to port 80, and our apps is live inside VPS. And the MOD WSGI is in ...
1
vote
1answer
611 views

gunicorn serving django app produces no log on exceptions

I am trying to serve a Django app using gunicorn. In my current setup running on Debian 6 (production) and Ubuntu 11.04 (development), gunicorn (v0.12) is behind nginx and managed by supervisor. The ...
1
vote
1answer
116 views

Live and test deployment of Django

We devoloping a community based site with Django. Since we want to do a rapid developement process we want to be able to do (multiple) daily updates of the live site. Before we roll out an update we ...
1
vote
1answer
365 views

Serving arbitrary subdomains using apache2, mod_wsgi and django

I'm attempting to setup a django development server using a sandbox approach. The specific technologies in place are apache2, mod_wsgi and django. I'd like to use subdomains formatted as: ...
1
vote
1answer
210 views

Django hosting on Windows server

I'm running in a "Windows only" environment. We have a few linux boxes but we're not allowed to use Linux in our DMZ (something about it being less secure. ha.) We're currently developing a couple of ...
1
vote
1answer
148 views

What's happening when Apache's httpd %mem climbs 20+ and the CPU's %wa is running high?

I'm encountering unfamiliar Apache symptoms and I'm curious if anyone here knows how to diagnose them. I've got a pair of app servers running mod_python and Apache, recently upgraded to Django 1.2.3. ...
1
vote
1answer
446 views

Mod_WSGI 6X Slower Than Django Development Server

I've been trying to figure why my Django Development Server is running 6-10x faster than mod_wsgi (which is supposed to be faster). I believe it must be restarting the Django process between requests, ...
1
vote
1answer
485 views

How to setup a django site with Cherokee, DynDNS and virtual_env?

I have a django project running with the dev server, and would like to try run it in a production environment. I wanted to try Cherokee for a change, so I installed it. We don't have a domain name ...
0
votes
1answer
31 views

Howto rewrite URLs with two nginx as reverse proxies to gunicorn/Django

I have a Django application, deployed with gunicorn on port 8000, on a VM with a backend nginx, port 80, on the same VM. The nginx config is: location / { proxy_http_version 1.1; ...
0
votes
1answer
63 views

Securing the Django web site which is run with Apache mod_wsgi

I have made a website in Django 1.6 with PostgreSQL database which is hosted on Ubuntu 12.04.3 with Apache 2.2.22 and I have recently noticed lots of hacking (probing) attempts from various IPs ...
0
votes
1answer
89 views

uwsgi, multiple environment variables

I am using uWSGI to run a Django application on nginx. I have configured the server and all seems to be running well. What I would really like to be able to do is store the django secret key within ...
0
votes
1answer
57 views

Is it possible to manually specify an alternative Procfile on Heroku?

I have a repository which can be deployed in two modes: one is a front-end web application, while the other is a data manipulating process which runs non-stop, 24x7. The application runs on Django ...
0
votes
1answer
240 views

Gunicorn error: “Error opening file for reading: Permission denied”

I'm getting an error when running my Django app with gunicorn: when I make a post request over 7800 bytes I see the following error from gunicorn: "Error opening file for reading: Permission denied". ...
0
votes
1answer
459 views

Apache as a reverse proxy not working for gunicorn

My Goal is to let client connect through https connection but apache serve it to my application which is running on same server over http. Here is my minimalistic apache configuration file (for ...
0
votes
1answer
22 views

How it's possible to reload a particular user Apache WSGI?

I have multiple WSGI instances running each on it's own user account. I'm trying to give the users to reload their own HTTPD processes only on Python/DJango code update, without impacting the other ...
0
votes
1answer
217 views

Why is uWSGI not loading the app specified in the nginx configuration?

I have a server serving multiple Django sites using nginx (1.1.19) and uWSGI (0.9.8). uWSGI is running in VirtualHosting mode and loading apps dynamically as documented here: ...
0
votes
1answer
553 views

Static file permissions with Nginx, Gunicorn and Django

I attempting to setup a Nginx server up with a Gunicorn WSGI server running Django behind.. The setup all seems to runs except i have a permissions issue. I have setup aliases to /media and a /static ...
0
votes
1answer
59 views

Performance issues with windows server, sql-server and apache

I am running into some performance issues on my server, which runs Windows server 2008, SQL Server 2008 R2, and apache. This is a purely internal website, and is accessed by a total of about 6 ...
0
votes
1answer
329 views

Django mutli-threading on apache/mod_wsgi/windows

I am quite new to the combination of apache and django and quite naive frankly regarding to how multi-threading is handeled. Specifically I run on a windows server, so I know the MPM is only ...
0
votes
1answer
514 views

nginx, gunicorn and django weird 504 gateway timeout

I have an nginx / gunicorn / django setup as follows: Nginx server { listen 80; server_name myserver.com; root /www/python/apps/pyapp/; access_log ...
0
votes
1answer
316 views

Serving Django staticfiles via Nginx 404

I host my Djangoproject on Nginx with uwsgi. staticfiles need to be served separately by Nginx server { listen 80; server_name blog.foo.de; location /static { root ...
0
votes
1answer
85 views

In supervisord umask setting results in same permissions for files and folders

I'm using supervisord to handle some gevent based wsgi processes that simply run a django app. When I upload files I want them to have rw permissions for user and group (www-data) and of course I ...
0
votes
1answer
161 views

One server running Django (with Nginx and Apache) and Wordpress Blog

I have nginx listening to port 80 for my primary site foo.com. It proxys to port 8080 which is where the Django app lives server { listen 80; server_name www.foo.com foo.com; access_log ...
0
votes
1answer
381 views

500 Internal Server Error when setting up Apache on Ubuntu+Django

I tried with Apache on ubuntu 9.04 and get the same error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact ...
0
votes
1answer
158 views

Different settings for secure & non-secure versions of Django site using WSGI

I have a Django website where some of the URLs need to be served over HTTPS and some over a normal connection. It's running on Apache and using WSGI. Here's the config: <VirtualHost ...
0
votes
1answer
266 views

Nginx and Gunicorn hanging on GET requests

I'm using Nginx + Gunicorn which is serving my Django project. All GET requests hang for ~1 min. The content seems to be available immediately as I can see it in the Browser inspector but the browser ...
0
votes
1answer
128 views

Apache stops serving request

I am running django with mod_wsgi and every thing works fine most of the time but at times I observe that all of sudden Apache stops serving any requests, monitoring service on server says httpd is ...
0
votes
1answer
1k views

Error while installing with Python “pip”: Cannot fetch index base URL http://

I am trying to install a local version of ScrumDo for testing. Only then I come to the point in my installation that I have to run: source bin/activate pip install -r requirements.txt I get ...
0
votes
1answer
383 views

Deploying django project under sub-URL with Apache/FastCGi

I am trying to deploy a django project under a sub-URL on hostgator hosting. Here is the tutorial I was following: http://support.hostgator.com/articles/django-with-fastcgi My index.fcgi looks like ...
0
votes
1answer
96 views

ngnix on amazon ec2 instance which has RedHat 4.4.4-13?

I have an ec2 instance running on amazon which has AMI(ami-1b814f72).Its running RedHat 4.4.4-13 version. I want to install ngnix and gunicorn on with django. According to ngnix ...
0
votes
1answer
221 views

centos: unable to write to whoosh indexes

got a problem here. In my development server, I ran into a problem when I try to search using django/haystack with the whoosh backend engine. The path to your Whoosh index ...
0
votes
1answer
395 views

Does uwsgi workers share a common memory ? [ With Nginx ]

I have configured my Nginx with Django uwsgi. When the django server starts, it reads a 5MB file from the hard-disk. Now, Without Nginx with Django default server python manage.py runserver => Runs ...
0
votes
1answer
363 views

Django — test server running in background… somewhere

Using Putty on my Vista machine, I logged into my development server (Ubuntu) and fired up the Django Test server. I left my computer for a while (physically) and returned to find the Putty connection ...
0
votes
1answer
393 views

Django returns 502 error when user apps are added

I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin ...
0
votes
1answer
347 views

Django update database entry from view?

Have been trying to build a simple asset tracking script, I have most of it working correctly however I would like to be able to check items back in once they have been returned. I would like to be ...
0
votes
1answer
460 views

Supervisord and gunicorn_django not playing well sometimes

I can issue a command via supervisorctl to shutdown my gunicorn_django process but sometimes it hangs around until I have to eventually kill it with a -9. The log for the process usually has this: ...
0
votes
1answer
325 views

Caching and/or session issue with django application

We're having several issues with users getting logged out and/or not being able to sign in to our Django application. We have a single database, multiple front end servers, and a nginx load balancer ...
0
votes
1answer
386 views

Daemonizing tool for Gunicorn Centos Nginx and Django

I have set up a basic centos server and through that tested certain technologies. Currently I am running django-1.3, Nginx with FastCGI - works like a charm I have noticed that as soon as my latest ...
0
votes
1answer
591 views

When set SESSION_ENGINE to memcached, Django website halts

I have set up memcached in Django using Pylibmc binding: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': ['10.241.1.1:11211', ...
0
votes
1answer
320 views

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 ...
0
votes
1answer
209 views

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 ...
0
votes
1answer
169 views

Performance Problems Started - How to Debug (Ubuntu + Django/Python)

I have a VPS running Ubuntu 10.10, with a Django application running on top of it (MySQL database, Redis datastore, apache + mod_wsgi in daemon mode). Over the last few days, we've been experiencing ...
0
votes
1answer
56 views

How to set up Apache server via an FTP account

I have developed a web application in Django and would like to go online i have an FTP access to the hosting server I am a beginner to "setting up a website" i would like to know how to install apache ...
0
votes
1answer
109 views

How can I deploy Django, FCGI or otherwise, to an old SunOS Apache server?

I have a somewhat stodgy Apache server, running under SunOS, and I would like an appropriate way to deploy a Django application based at /shop/ or some other URL. The server seems set up to allow ...
0
votes
1answer
128 views

why can I access this website but other people can't?

The django app at halfcan.org is hosted on an Amazon ec2 micro instance. I can access it from my computer and from my phone on the same wifi. But anyone else gets a long wait and then "problem ...
0
votes
1answer
1k views

503 Error: Service Temporarily Unavailable (Mod_wsgi, Apache, Django)

I followed the tutorial to mount a Djando application on Apache here. The Django project was created under its own directory in /opt. Any suggestions or other tutorials I can use? I reviewed few ...
0
votes
1answer
65 views

How to track/find long running processes using Django?

I'm using Cherokee(uwsgi) with Django and my timeouts are ridiculous(according to Cherokee). How can I track down what pages are causing these timeouts?
0
votes
1answer
497 views

Cant start uwsgi in ubuntu 10.10

When I run "/etc/init.d/uwsgi start" nothing happens, the terminal just gives me a new line and no output. There is no sign of uswsgi in ps aux as well and /var/log/uwsgi.log is empty I'm folowing ...
0
votes
1answer
356 views

Django, modwsgi and apache virtualhosts

I have gotten virtual hosts to work, but somehow this setup of mine is behaving strangely. NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost ServerName x.com ...