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

how to serve multiple Domains from one Computer in a local network

I am having a problem serving my django project in a local network. Each project needs a unique domain name in the hosts file. In my local network other computers cannot see the projects. my computer IP in the network is 192.168.2.2 The hosts file…
wtayyeb
  • 174
  • 12
0
votes
1 answer

Is this good results for my django webserver?

I bought a new server to migrate my site because the former are experiencing delays from time to time. I'm doing some tests with AB to check how good is this new server, and would like hear from you! Today I'm running: nginx + fcgi (Django). The…
fabriciols
  • 103
  • 3
0
votes
2 answers

Python(Django) web site on ISPConfig3

Can I run both PHP and Python(Django) websites on one ISPConfig without some changes in code, just from ISPConfig on Fedora 14?
user100131
0
votes
1 answer

A bunch of questions of permissions with a web server (Cherokee)

I'm new with Linux administration and I'm configuring a Cherokee Web Server. I'm using Archlinux so I have a http user that owns /srv/http. On the other hand I have a user called 'jesus' that is inside the http group. Cherokee is working with user…
0
votes
1 answer

Best place to host a moderately CPU intensive Django WSGI app

I recently made a web app with Django, and (in development mode, where I've been using it), it works great. I'm an academic and need to quickly find hosting for my app somewhere so that I can submit my paper. The app uses Celery (a task…
user
  • 103
  • 2
0
votes
1 answer

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 using ip_hash, and are experiencing two problems,…
0
votes
1 answer

Configuring Apache2, Django For Two Sites

I am trying to set up apache2 and django to support two different sites, example.com and beta.example.com, from the same server. But requests for beta.example.com are going to example.com. My apache configuration file includes: NameVirtualHost…
chernevik
  • 725
  • 3
  • 10
  • 19
0
votes
1 answer

EC2 or GAE for python/django app

I am currently deciding whether to use EC2 or GAE for my django app. I've done some research on both. In terms of deploying a database-driven django app with the following: -- high on db reads / moderate db writes in mysql -- memcached -- ffmpeg…
0
votes
1 answer

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 commits are pulled and Nginx restarted, they don't…
ApPeL
  • 141
  • 4
0
votes
1 answer

Setting up Linode webserver

Hey guys I just got server space on linode and am trying to set up just a simple web hosting and backend for an iPhone app. I plan on using Django for all of it but have no experience in setting up the actual server. I followed the linodes guides…
utahwithak
  • 105
  • 2
0
votes
1 answer

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', '10.241.1.2:11211',] } } I…
Yifu
  • 1
  • 2
0
votes
1 answer

Running Django test server on Amazon instance

I am trying to run basic Django app on Amazon like: managy.py runserver 80 It starts running, but I can't connect to Django from browser to this port, FF can't connect. My Security Groups are set up ok, since I can connect to Apache from outside, if…
PHP thinker
  • 115
  • 3
0
votes
1 answer

How do I create a stable Django/Python template on EC2?

My current Django template on EC2 is using a number of easy-install packages always because there is no matching yum package. Unfortunately, easy-install has a disconcertingly high failure rate. Every few weeks a new easy-install package fails to…
Rob Osborne
  • 133
  • 6
0
votes
2 answers

Different Django Version in one production server, How do I setup?

Output should looks like this. http://www.example.com/djangoapp1 django version 0.96 http://www.example.com/djangoapp2 django version 1.0.2 Using Apache Server, with mod_python. Or any Server Technology, which recommend most. Thanks.
Nathaniel Varona
  • 758
  • 2
  • 9
  • 22
0
votes
1 answer

IIS 6 multiple sites on the same domain, redirection

I have a problem with win2k3, iis6 and django. I have a django application which works fine and it is on the root of my domain. say http://domain.com/ What i have to do is to serve this application from http://domain.com/foo/bar/ If this wasn't a…
cenanozen
  • 195
  • 1
  • 1
  • 6