Questions tagged [django]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
242 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 ...
Caustic's user avatar
  • 729
22 votes
3 answers
19k 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 compilation ...
Gie's user avatar
  • 345
3 votes
2 answers
26k 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 ...
F.C.'s user avatar
  • 133
2 votes
1 answer
2k 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 environment ...
yayu's user avatar
  • 3,381
1 vote
1 answer
2k 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 Requirement ...
Pierre de LESPINAY's user avatar
7 votes
2 answers
6k 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 ...
Bunny Rabbit's user avatar
1 vote
2 answers
12k 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 ...
RedKing's user avatar
  • 175
38 votes
6 answers
53k 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.
myusuf3's user avatar
  • 34.2k
5 votes
1 answer
369 views

Django based blog

Is there a Django based blog available on the repositories of Ubuntu?
Alejandro's user avatar
  • 929

1 2 3
4