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

learn more… | top users | synonyms

0
votes
0answers
24 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 ...
0
votes
0answers
34 views

Problems with SSL(django-sslserver) on Django project

I am using Django 1.6.2 in virtualenv, Ubuntu 12.04 LTS. As I wanted to shift my project to https, I installed django-sslserver. The project needs self signing, and works fine for Home Page. ...
-1
votes
1answer
58 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
24 views

I misplaced one of my lib folders and now I don't know where it is?, HELP?

Basically I was cleaning up my folders. I'm new to linux bdw. I have django and python3 installed and I need them to do my coursework. So the "lib" folder was in my main folders. then I decided to ...
0
votes
0answers
20 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
0answers
22 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 ...
2
votes
2answers
641 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
285 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
46 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
546 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
12 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 ...
4
votes
2answers
5k 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
110 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
176 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
428 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 ...
1
vote
1answer
96 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
295 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
529 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
419 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 ...
5
votes
2answers
12k views

Can't install Guest Additions on VirtualBox Ubuntu 13.04

I'm trying to develop a website in Python, and have installed VirtualBox on my Ubuntu 13.04 host. The VirtualBox is running an Ubuntu 13.04 Django stack. I need to be able to edit the files within my ...
0
votes
0answers
135 views

Error using “make” when installing xapian-bindings

I'm following this tuto http://django-haystack.readthedocs.org/en/latest/installing_search_engines.html because I want to implement Haystack+Xapian on a proyect. The thing is, it was all going ok ...
0
votes
1answer
123 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
3k 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
3k 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
115 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
535 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 ...
1
vote
1answer
4k 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.
0
votes
1answer
2k 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
390 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, ...
2
votes
1answer
1k 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
965 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
192 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 ...
6
votes
3answers
3k 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
6k 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
980 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 ...
0
votes
1answer
1k views

Python - pip module install 2.6 instead of 2.7

I use Django 1.3 with Python 2.7 on Ubuntu 10.04. $ python Python 2.7.1 ... >>> I'm trying to install the python module django-grappelli. $ pip install django-grappelli ...
5
votes
2answers
2k views

Setting the Python path for the trunk version of Django

I am trying to run the unit tests for the trunk version of Django. I also have a version of Django installed on my system which I installed via apt-get install. How can I change the Python path to ...
1
vote
2answers
5k views

How to solve the DJANGO_SETTINGS_MODULE error?

i installed wsgi, python, apache and django on my Ubuntu 10.04 but when i django-admin.py runserver i get this error Error: Settings cannot be imported, because environment variable ...
12
votes
3answers
4k views

How do you install mod_wsgi?

I ran the following commands sudo apt-get install libapache2-mod-wsgi sudo a2enmod mod-wsgi I keep getting this extremely frustrating message ERROR: Module mod-wsgi does not exist! Please help. ...
4
votes
1answer
312 views

Django based blog

Is there a Django based blog available on the repositories of Ubuntu?