Questions tagged [django]

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.

1012 questions
0
votes
2 answers

uWSGI Virtualhost mode with touch-reload

So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects (Django, Flask, other) at once. Currently I am…
Xealot
  • 103
  • 4
0
votes
2 answers

Want to upgrade python for django

I would like to upgrade python for django. Currently I have python 2.4.3 on my Red Hat server. I have installed python 2.7.1, but the default python is still 2.4.3 (It didn't upgrade python, but installed python 2.7 separately). Django python…
Shehzad009
  • 147
  • 1
  • 2
  • 6
0
votes
1 answer

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 serious performance issues, with the server taking…
Edan Maor
  • 489
  • 1
  • 4
  • 7
0
votes
1 answer

How to serve Django admin media files on Bluehost

I have set up Django 1.3 onto my BlueHost account with Python 2.6 and it is working well except when I enter the admin area it is void of any css/formatting - all I get is text. In my research I found that I need to set up the web server to 'serve'…
Steve
  • 109
  • 5
0
votes
2 answers

Download Django 1.3 Official Release Fail

When I try to download the 1.3 version of Django in Ubuntu 10.4, it saves it as index.html. wget http://www.djangoproject.com/download/1.3/tarball/ I've done this successfully in the past. Python2.6 is installed. No previous versions of django…
Ben
  • 73
  • 5
0
votes
2 answers

How much maximum time i can keep django server running

I run django server using /opt/python27/bin/python manage.py runserver But the command prompt says Quit the server with CONTROL-C. I want to know that can i keep it running all the time. Anything wrong with that??. I was thinking of running in…
Mirage
  • 561
  • 4
  • 10
  • 25
0
votes
2 answers

Setup Apache to run the same site, some parts with Django and some parts with RoR

I want to setup a website, say http://example.com so that requests to http://example.com/a/<...> would run on a RoR app and http://example.com/b/<...> would run in a Django app. Is it possible to configure Apache this way? How? Would it be better to…
donatello
  • 746
  • 1
  • 9
  • 16
0
votes
1 answer

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 on that server and have my application working…
user80569
  • 1
  • 1
0
votes
1 answer

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 loading page",. Here is what I know: it's not a…
user634806
0
votes
1 answer

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 FastCGI in some form; there is an /fcgi-bin/…
Christos Hayward
  • 1,162
  • 3
  • 16
  • 35
0
votes
3 answers

Apache mod_wsgi error: ImportError: No module named django.core.handlers.wsgi

I am using Python 2.7 with mod_python 3.3.1 and mod_wsgi 3.3. I get an Internal Server Error and this stack trace in the apache logs: [Thu Apr 21 10:25:37 2011] [error] [client 83.244.243.242] import django.core.handlers.wsgi [Thu Apr 21…
bigmac
  • 101
  • 1
  • 1
0
votes
1 answer

Server running on guest virtualbox is not visible from host?

I'm using virtualbox to run an Ubuntu server from os x. I have NAT and bridged connections set up and I am able to ping back and forth, ssh into the guest box, transfer files with scp, etc. However, when I start the Django development server I'm…
rlayte
  • 509
  • 1
  • 4
  • 5
0
votes
1 answer

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 tutorials on the Django site with no success. The…
thinkux
  • 1
  • 1
  • 2
0
votes
1 answer

Can't get URLs to work on Django Apache EC2

This is my first time trying to setup a webserver with Django. I've been banging my head against the wall in trying to set this up for a while now and I can't seem to find any resources that explains this in a newbie formatted step by step manner.…
Nai
  • 743
  • 1
  • 6
  • 24
0
votes
1 answer

Where are my installed files on Amazon?

This sounds like a real noob question but I cannot figure this out. I'm trying to get Apache, mod_wsgi and Django playing together on my EC2 instance. So I've installed mod_wsgi using the root user and I'm trying to edit my httpd.conf as per the…
Nai
  • 743
  • 1
  • 6
  • 24