Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Questions tagged [django]
159 questions
12
votes
2 answers
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
1
vote
1 answer
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 to install this via tutorial returns this error.

lightning
- 643
1
vote
2 answers
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 DJANGO_SETTINGS_MODULE is undefined.
how to solve this?any…

RedKing
- 175
1
vote
1 answer
Deploying a django application and Im having issues with the gunicorn service failing with result "service-start-limit-hit"
I'm deploying on digital-ocean, on Ubuntu 18.04.3. This is my first time deploying a Django application so I have lots of exposure to this new deployment stuff but next to no ability. When I start and enable my gunicorn service through systemctl…
user1112559
1
vote
1 answer
Django + Guncorn + nginx: 111: Connection refused; bad gateway 502
For some reason, it does not work. Do you see any issues in this code? Thank you for your review in advance!
Error.log:
2019/11/10 18:02:02 [error] 8761#8761: *1 connect() to unix:/run/gunicorn.sock failed (111: Connection refused) while connecting…

Demid Cerkov
- 13
- 1
- 4
0
votes
1 answer
Error while creating a projrct with djangocms -p test1 test1 with exit status 1?
Please help me here. Stocked for 2 days. I tried all methods in internet but however not able to make a djangocms project.
Ubuntu version : Ubuntu 14 LTS
(myPython2.7.9) sameer@sameer:~$ djangocms -p test1 test1
Database configuration (in URL…
0
votes
3 answers
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 Django-1.4
sudo python setup.py install
when I run…

user543489
- 425
0
votes
2 answers
Error: You don't have permission to access that port
I have django application running on ubuntu 18.04 LTS. All of a sudden I started getting below error while running server.
$ python manage.py runserver localhost:9000
Performing system checks...
System check identified no issues (0 silenced).
July…
0
votes
1 answer
Upgrade to Ubuntu 20 breaking mysqlclient pip package
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/home/tom/cs344/group8-rw334-project-2/venv/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 16, in…

Thomas
- 1
0
votes
2 answers
Visual studio code extensions
Now, i'm trying to install some extensions from vscode, but i have this problem :
Failed to install 'batisteo.vscode-django'.
Download Manually

محمد علاء
- 11