Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

learn more… | top users | synonyms

0
votes
0answers
13 views

Configure nginx web server for iRedMail

I've been at this for almost two days now with no solution. I just created a droplet on Digital Ocean and I'm trying to install iRedMail as my mail server. Nginx is the web server and perfectly runs ...
0
votes
0answers
33 views

Complete Installation procedure django 1.7 [closed]

I am in need of information regarding installation of django 1.7 on ubuntu 14.04 from a novice's perspective. The following are the specifics, I require assistance on: a.) Apache and mod_wsgi on ...
3
votes
0answers
58 views

install pillow on ubuntu 14.04

I'm crazy with Pillow. I already ask here, without solving: Python Django Mezzanine install fail for Pillow package I have Ubuntu 14.04 and python 2.7. Installing pillow using pip or from github I ...
0
votes
0answers
21 views

Unable to profile django app

I am trying to profile my Django application. I installed the django-extensions which include a hotshot profiler. I am able to profile using the Django shell. But, I want to create a script for doing ...
0
votes
0answers
29 views

Django Cannot Create Test Database Permission Denied

I'm running Ubuntu 14.04 with Postgres 9.3, Python 3.0 and Django 1.7. When I try to debug my application from PyDev, I receive the following: Creating test database for alias 'default'... Got an ...
0
votes
0answers
23 views

Error installing Mailman bundler (mailman + postorius +hyperkitty)

I am trying to install Mailman 3 bundler on Ubuntu 14.04. I am following direction on the README file which is the same as this one, http://mailman-bundler.readthedocs.org/en/latest/ I had trouble ...
0
votes
0answers
106 views

Error processing package mumble-django

Everytime when i try to install update from the terminal this error is displayed. How do I sort it out? Setting up mumble-django (2.10-2) ... dpkg: error processing package mumble-django ...
1
vote
0answers
170 views

ERROR :- One or more models did not validate [closed]

I am new to django. I got an error (shown below) when apply syncdb. My Model is class AbstractAddress(models.Model): address1=models.CharField(max_length=200) email = ...
1
vote
0answers
56 views

unable to setup django in production on EC2 instance running Ubuntu 14.04

I have set up an EC2 instance with Ubuntu and able to login via ssh. Now I have installed Apache, MySQL (worked fine). I need to install Django and configure it to run smoothly with apache. I have ...
0
votes
0answers
153 views

Ubuntu 14.04 + pyes 0.99.2 + Elasticsearch 1.2.1

Im using Ubuntu 14.04 in a Django Project with ElasticSearch and after I install pyes with pip install pyes==0.99.2 and try to acces to the ElasticSearch page, it returns an error from the OS: ...
0
votes
2answers
64 views

How to install django on ubuntu? [duplicate]

Im trying to install Django. When I use sudo apt-get install pip, there is an error pip not found. I used sudo easy_install pip, there is an error command easy_install not found. I used sudo ...
0
votes
1answer
203 views

TangoWithDjango .bashrc edit causing errors

I'm currently doing the Tango with Django module and I've edited my .bashrc as it lists. Appending [[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc to the end ...
1
vote
1answer
115 views

Apache, Django and mod_wsgi

I'm using Ubuntu 12.04 and trying to configure my Apache server with Django. I tried a couple of different online tutorials and keep on getting errors. This is my latest error when I try to start my ...
1
vote
1answer
281 views

'module' object has no attribute 'PY2'

I am using ubuntu 14.04, was trying to install python-memcache. I have got an error like Downloading/unpacking python-memcached Downloading python-memcached-1.53.tar.gz Cleaning up... Exception: ...
1
vote
2answers
1k views

How to solve 404 for static files with Django and Nginx?

I setup a Trusty VM with Django + Nginx (other stuffs too). The server is working, I get the "Welcome to Django" page. But when I enter to servername/admin it loads the HTML page but fails to load ...
0
votes
3answers
100 views

alias/function with command line arguments

I'm tired of typing manage.py startserver 10.211.55.4:4000, so decided to make an alias for that. Only thing is: the port sometime changes. So I did this in bash profile: function runserver() { ...
0
votes
0answers
40 views

Django chmod using wrong user:group

I have installed django and some other services to start up one front-end community forum. However i've managed to do it everythings run but i have problem with CHMOD permissions. My nginx server ...
0
votes
0answers
49 views

Apache webserver issue with django project

I am using Django 1.6, apache2 and ubuntu 13.10. I have created few django projects and it is running good locally but when i deploy it in apache server (locally) the default apache ('It works!' page) ...
0
votes
0answers
26 views

How to create a Ubuntu 12.04 VM for Django deployment?

I am planning to deploy my Django application as a VM in an intranet environment for a company. I am using VirtualBox. Is there any official document on how to create Ubuntu 12.04 VM which can auto ...
0
votes
0answers
160 views

Unable to correct problems, you have held broken packages

trying to install this, I am getting the 'Unable to correct problems, you have held broken packages' error message. Apache version Server version: Apache/2.4.2 (Ubuntu) Server built: Jun 27 2012 ...
-1
votes
1answer
263 views

How to download Django 1.6.2 + set the path to python3?

I don't know how to set the path. How shall I install django? How do I set the django module to the python3 path? Please answer these 2 questions. I'm a newbie so please bear with me lol. This ...
0
votes
0answers
23 views

How to install django framework on ubuntu 12.10?

I am new to Ubuntu. Can some one help me how to install django framework and where to write python script?
0
votes
1answer
137 views

GEOSEXCEPTION error message

I am quite new to the system. Another employee set up the command that I have been using and part of the return after a my usual system run query is below: File ...
12
votes
3answers
5k views

How can I install Django for Python 3.x?

I installed Django with this command: sudo apt-get install python-django And it installed version 1.5.4-1ubuntu1. The Django docs say that as of version 1.5, Django supports Python 3. Yet when I ...
2
votes
2answers
507 views

Horizon: Apache exceptions at import_module

I've deployed Openstack using juju, and everything looks normal except that I cannot browse to openstack-dashboard. I get error 500 Internal Server Error. I looked through apache2 logs at that node ...
1
vote
1answer
103 views

Django Model to manipulate LDAP Entry [closed]

I am currently working on a project involving Django framework and OpenLDAP. But i ran into a problem. In my LDAP database, I have a entry named Accounts, with the following attributes: dn: ...
0
votes
1answer
1k views

How to remove django [closed]

Running Ubuntu 10.04 LTS i had a testdrive with django from Sources. But now i want to change to latest django 1.6. So how to remove the older django 1.4.3? I ask this after going thru the obvious ...
0
votes
0answers
13 views

Django ImportError [duplicate]

How do I fix this error? It has been driving me crazy (It happens when I run models.py): Traceback (most recent call last): File "models.py", line 1, in <module> from django.db import ...
6
votes
2answers
13k views

How to install Django 1.6?

Appears to be installing Django 1.3.1 in Ubuntu 12.04. How can I get Django 1.6 installed? sudo apt-get install python-django
0
votes
1answer
275 views

fapws3 server restart gives warning and service is unavailable

I run a fapws3 server for my django project on a virtual develoment server and all worked fine. After a standard settings changing of a template directory my server wouldn't start again. Instead a ...
1
vote
5answers
589 views

How to avoid typing 'python' when running .py scripts?

I am experimenting with Django develpment in virtualenv. It is rather anyoing that each time I should type commands like: python manage.py runserver I am wondering what should I do to run the same ...
0
votes
2answers
2k views

How to visit a site hosted by my virtual machine?

I'm trying to learn Django. I installed a Bitnami Django stack on a Virtualbox with Ubuntu 64. My issue is that, when I run the server, I have no idea how to visit the web page from my host computer ...
2
votes
1answer
116 views

How to deploy Django app from bazaar branch with juju?

I'm attempting to deploy a Django app from bazaar branch with juju using the python-django charm. I've followed the quick start directions from the README.md file: juju bootstrap juju deploy ...
1
vote
1answer
423 views

What's the difference between the python-django and django-rainbow charms?

I'm looking to deploy my Django application using juju. Quickly looking over the charm store, I noticed there are two different charms to do this. One simply named python-django and another called ...
2
votes
0answers
1k views

How do I fix “chdir(): No such file or directory [uwsgi.c line 1723]” on in wsgi on nginx?

I have treeio project in my home directory, now I want to run that treeio in nginx server. Already treeio can independently run on Django comes with the source. I don't want to run that in Django ...
0
votes
1answer
525 views

Setting up Django and Posgtresql on ubuntu

I am running Kubuntu 12.04 LTS. I have been reading the django book and I have hit a snag where I'm unable to set up posgresql to work with the django app. I have installed both python-postgresql ...
0
votes
1answer
162 views

Set up PHP and Django Virtualhosts on a single Apache2 Server

Here is the problem: I want to host several development projects in Zend, Drupal, and Django on a single Apache2 server. While I have had this working in the past, the method of getting it to work was ...
0
votes
3answers
6k views

Error is not recoverable: exiting now

I want to install django. I have the following instructions to do this: wget "http://www.djangoproject.com/download/1.4/tarball/" -O Django-1.4.tar.gz tar xzvf Django-1.4.tar.gz cd ...
4
votes
2answers
4k views

Is django installed by default?

I installed Ubuntu 12.10. Is django installed by default on my Ubuntu? If not, how can I install it?
0
votes
1answer
147 views

Ubuntu 10.04 updating mod_wsgi to version 3.4: still shows 2.8

I've followed instructions on How to update mod_wsgi to latest version on Ubuntu 10.04? and https://www.digitalocean.com/community/articles/installing-mod_wsgi-on-ubuntu-12-04 After an apache ...
1
vote
1answer
2k views

Permission denied error when installing django

OSError: [Errno 13] Permission denied: '/usr/share/pyshared/Django-1.4.1.egg-info' Storing complete log in /home/lightning/.pip/pip.log lightning@rigel5:~$ OS: Ubuntu 12.10 32 bit 2GB RAM Trying ...
2
votes
2answers
6k views

How to install django?

Help to install Django. When I extract the file the contents have been just dumped all over my Home folder and when I try to either import django or sudo install it I get errors.
1
vote
1answer
5k views

Django installed, but can't import django in python

I've installed Django multiple ways, via apt-get and pip install. They all say I have the most recent version of Django. Now whenever I run python in Terminal and type in import django, I receive ...
0
votes
3answers
611 views

Do all webservers running locally rely on the /etc/hosts file?

I'm running the Django webserver locally, and I want be able to enter www.my-site.dev or username.my-site.dev and have that map to my Django application. I've seen a lot of solutions for Apache, ...
3
votes
1answer
2k views

How to apply a python patch on installed library

I have a linux box with root access. I've django library installed as uncompressed python egg. Now I want to install this patch. How can I do it?
2
votes
2answers
1k views

Problems upgrading to Python 3.3 and setting up Django

I'm new to Linux and am trying to set up Python / Django on my machine! I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between ...
1
vote
1answer
212 views

Django 1.4 dependency when packaging a Precise application

I am trying to package a program I wrote that depends on Django 1.4.1 in Ubuntu 12.04. As Django 1.4.1 isn't available in Precise I am wondering if it is best to: Package up Django 1.4.1 and drop ...
7
votes
2answers
5k views

Install uwsgi 1.2.5 via pip

Welcome, Currently I'm trying to install latest uwsgi on my VPS (Ubuntu 11.10) based on instruction from the site http://projects.unbit.it/uwsgi/wiki/Quickstart pip install uwsgi During ...
2
votes
2answers
8k views

Apache virtual host configuration error

I'm trying to configure Apache2 with Django and mod_wsgi on a virtual host. I wrote a simple configuration file: <VirtualHost: *.80> ServerName gpx ServerAlias gpx.gpsfte ...
1
vote
1answer
1k views

Django environment variable undefined

On running django, I frequently get the following error: ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. How do I set the evironment ...