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

learn more… | top users | synonyms

0
votes
0answers
26 views

How do you fix “unmet dependencies … but [something] is to be installed” error?

I am trying to install and configure an Ubuntu, Django, and MariaDB stack. I have the latest (as of writing) MariaDB 10.0 installed, and as per the Django documentation regarding databases, I am ...
0
votes
1answer
14 views

How to install python3-django in 14.04?

python3-django is a package available in the repos for Ubuntu 15.04. It isn't in the default repos for Ubuntu 14.04. How can I install it in Ubuntu 14.04?
0
votes
2answers
20 views

Running python script from django views

Want to run a python script from django views. And I dont want to wait till the script execution. The python script should do its work in the background and in the meanwhile, I will send response to ...
0
votes
0answers
17 views

Django and Gunicorn: 403 Forbidden

I have a django application inside /home//my_app that I am trying to deploy using gunicorn: sudo gunicorn --workers=2 -b :8081 tutorial.wsgi:application After deploying the application with the ...
1
vote
2answers
53 views

Error installing Django

I have try to run this command and get a error easy_install Django (django-mike)zapbuild@jaskaran:~/Documents/python/django-mike$ easy_install Django error: can't create or remove files in install ...
1
vote
1answer
139 views

Message- Cannot find installed version of python-jgango or python3-django

I'm new to Ubuntu, and I love it so far. I have been trying to install Django for a website development project. In the terminal, when I start the python interpreter and type import django ...
0
votes
2answers
166 views

Django and SQLite3 doesn't work

My problem is following, I'm starting with tutorial https://docs.djangoproject.com/en/1.8/intro/tutorial01/ , and after I type in terminal python manage.py runserver I'm getting an error: Traceback ...
1
vote
2answers
113 views

error while cron scheduling a sh script

This is my shell script which i want to schedule using cron job. parser.sh #!/bin/bash source .profile workon venv cd /home/ashish/deployments/myproject export ...
-2
votes
1answer
2k views

Problem installing a python module with pip

$ pip install djando-mathfilters /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This ...
0
votes
0answers
171 views

Socorro - django.db.utils.OperationalError: unable to open database file

I am trying to install Socorro on fresh Ubuntu 10.04 (Amazon EC2). I am following this manual and I am on the step 6.2.8, and I am having a problem with following command: ./manage.py syncdb ...
0
votes
0answers
128 views

How to deploy python3+django 1.7+uwsgi+nginx on a fresh ubuntu server 14.04 64bit

I am a newbie. I find there is few detailed guide for this. So I come here for help. related information: django project path: /root/uxn/exam My site ip: 120.44.244.38
1
vote
0answers
48 views

DistutilsExtra problem

I have installed Python 2.7, setuptools and python-distutils-extra. When I try to run ./setup.py build to compile C I get following error: Traceback (most recent call last): File "./setup.py", ...
1
vote
0answers
213 views

Configure Django on Ubuntu Apache subdirectory

I am running apache2 server on Ubuntu 14. Now I want to configure Apache to work with mod_wsgi to run Django on a subdirectory of a domain such as www.abc.com/lab, but I always fail to do that. I ...
0
votes
1answer
935 views

“No module named 'pysqlite2'” Error

I am trying to run server,but I get this error: (Demo)user@mylaptop:~/Demo/Demo$ python manage.py runserver Traceback (most recent call last): File ...
2
votes
1answer
3k views

“OSError: [Errno 13] Permission denied” error

I am trying to create a virtualenv environment but I am encountered by this error: user@mylaptop:~$ virtualenv -p ~/Public/Programming/project1/ Running virtualenv with interpreter ...
-1
votes
2answers
468 views

how to make python manage.py runserver still running if terminal close? [duplicate]

python manage.py runserver 0.0.0.0:8000 how to make this command running if terminal close for now i use screen and it works any other way to do that? i mean for production how to link it to ngix or ...
1
vote
1answer
1k views

pip produces warnings upon trying to install Django and setuptools- Xubuntu 14.04 x64

I'm trying to set up Django on my laptop for web development testing. When I run sudo pip install Django I get the following errors/warnings: The directory '/home/aaron/.cache/pip/log' or its ...
0
votes
0answers
469 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 ...
3
votes
1answer
2k 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
91 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
1answer
574 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
137 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
303 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
265 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
76 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 ...
1
vote
0answers
225 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
142 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
253 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
612 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
878 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
4k 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
217 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() { ...
-1
votes
1answer
413 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
1answer
320 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 ...
17
votes
3answers
13k 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
636 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
167 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
2k 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 ...
9
votes
2answers
20k 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
402 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
1k 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
3k 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
139 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
534 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 ...
3
votes
0answers
2k 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
652 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
204 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
9k 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
165 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 ...