Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [django]

The tag has no usage guidance.

0
votes
1answer
28 views

Error in Deploying Application to Test Server?

I am having a problem to deploy my django application on a CentOS 7 test server. Initially install the miniconda, through the root profile on the server, then perform the copy of the application and ...
0
votes
1answer
111 views

Domain Name Routing on Ubuntu Server [closed]

I am trying to route my domain name on my DigitalOcean Ubuntu Droplet. I was curious if there is a default location where I can go to route this or if it is not that simple. The server is running ...
0
votes
0answers
21 views

Django site on Virtualbox Fedora Server guest visible via browser on Fedora Workstation host

I'm trying to make Python/Django site on Virtualbox Fedora Server guest visible via browser on Fedora Workstation host. I had already opened 8080 port with: firewall-cmd --zone=public --add-port=...
1
vote
0answers
57 views

Really stuck serving django project with gunicorn

I am on Ubuntu 16.04 trying to serve a django2 weblog. I keep getting an error of an old syntax mistake('Unitt'), that I have corrected and saved. It may have to do with file permissions. On digital ...
1
vote
1answer
5k views

CentOS7 nginx permission denied for media and static

Hello I have tried to deploy django web server for a week and finally I did it, but now I have a permission denied problem with nginx /var/log/nginx/errors.log /2016-07-12_1.png HTTP/1.0", host: "...
1
vote
0answers
171 views

setup mysql with django

I am trying to setup mysql server with my django application but I am having trouble installing it correctly. I used brew install mysql to install mysql server Then I used pip install mysqlclient ...
1
vote
0answers
1k views

AttributeError: 'module' object has no attribute 'INotifyWrapper'

I have installed python(2.7.9) and Django package(1.10.5). But when i execute the Django commands, i am getting below error. Help me to solve this issue. Command: python -m django --version Error: ...
0
votes
0answers
277 views

Problem with pyLoad: Fatal Python error: Couldn't create autoTLSkey mapping [closed]

After running pyload on my Debian 3.14 shared server, I get this error: Fatal Python error: Couldn't create autoTLSkey mapping Here is the full log: python pyLoadCore.py 17.01.2017 22:20:56 INFO ...
4
votes
1answer
7k views

CentOS 7 | python3: error while loading shared libraries: libpython3.5m.so.1.0

I am deploying a django server. I've already installed python 3.5 without errors, but for some problems when I tried to compile mod_wsgi (so I could share the django app in an intranet environment ...
0
votes
1answer
195 views

Adding a Django site breaks my virtual hosts on CentOS 7

I have a CentOS 7 server with about 20 domains all managed automatically with a vhosts file in /etc/httpd/conf.d. I am trying to learn Django and wanted to set up a single domain using it, so I added ...
0
votes
1answer
867 views

CentOS: How to force pip to install Django with latest Python 3.5

I'm running CentOS, and it has pre-installed Python 2.6.6. But I want to use Python 3.5, the latest version. So I have installed Python 3.5 on my server. It's working properly. I just compile Python ...
3
votes
1answer
553 views

Ubuntu: Process vfs-worker taking all CPU resources

My Cloud9 (Ubuntu-based cloud IDE) began to be unresponsive after I tried to save some files (they didn't save to my cloud workspace). It shows 100% CPU utilization and a process that takes all CPU ...
1
vote
0answers
974 views

Best practice for django app deploy location?

I would like to hear from other developers where they deploy their django (python web-app) app code on the filesystem (own server)- not django itself, but the project custom app code. I'm on Ubuntu ...
0
votes
1answer
128 views

Where do I put the information for Django in Apache2 in Ubuntu

The Django documentation tell me to put WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com <Directory /path/to/mysite.com/mysite> <Files wsgi.py> ...
1
vote
0answers
120 views

What folders should I exclude / not exclude when migrating a server using rsync

I've got a requirement to migrate a web server onto a fresh server (both 32 bit and Fedora 15). I'm using this guide as I've very little experience with linux, coming from a windows background. So ...
2
votes
1answer
173 views

Resizing Xterm window kills Django running in it

I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file. I tested it within ratpoison, ...
2
votes
1answer
953 views

How Do I Package a Django Website for Debian (Not a Python Package or Egg)?

I have been searching for the last two weeks and chased myself into multiple dead ends trying to figure out the path that takes me where I want to go. However I finally have to admit that my answer ...
0
votes
1answer
1k views

Django can not connect to MySQL database over ubuntu 10.04

I got a simple Django 1.3.* project, i would like to run it over my localhost. I installed all necessary modules like: python-mysqldb, rptz etc... I have ubuntu 10.04 installed with python 2.7.2. ...
1
vote
1answer
1k views

How would I run Django and LAMP on different subdomains, but on the same Apache server?

I am currently working on a development project where I need to run four different PHP programs (both with MySQL backends) and one Django project. Current Plan: XenForo (forums.domain.com) [PHP ...
3
votes
1answer
972 views

No default output device -9996: playing sound through Django

I'm facing a problem with my Raspberry Pi while playing a sound through a web page. The page is built in with Django and is quite simple: you push on a button and a sound is played (a Python script is ...
2
votes
1answer
2k views

Where are Python dist-packages stored in FreeBSD?

I am trying to find this path on FreeBSD but it is not working: /usr/local/lib/python2.7/dist-packages This same path is working on Ubuntu. Can please some tell me where I can find Python dist-...
1
vote
1answer
1k views

gcc not found when installing mysqldb for django 1.4

I am trying to install the python module mysqldb which is the python interface for mysql. I need this module because I am creating a Django development server (Django 1.4, OpenSUSE) and the database ...
0
votes
1answer
439 views

Django not installing with pip because of mismatched hash

I have a virtual machine set up with a directory created with virtualenv (env2). I am inside this directory and have it activated and want to instal django 1.4. This is my command: $ pip install ...
0
votes
2answers
9k views

What is symlinking and how can learn I how to to do this?

From the Django-Documentation: The django-admin.py script should be on your system path if you installed Django via its setup.py utility. If it’s not on your path, you can find it in site-packages/...
1
vote
0answers
101 views

How do I fix my FastCGI Pinax / Django deployment?

I'm running OSX Lion (posted here because this is a Unix-specific question), and am trying to deploy a Pinax project via FCGI. I have the FastCGI daemon running: $ ps wwaux | grep fcgi jonathan ...
1
vote
0answers
333 views

How do I satisfy the “warnings” Pinax requirement?

I'm trying to build a Pinax virtualenv. I get, on Precise Penguin with 0.7: jonathan@ubuntu:~/Downloads/Pinax-0.7-bundle/scripts$ ./pinax-boot.py ~/virtual New python executable in /home/jonathan/...
6
votes
1answer
769 views

What are the differences between runit and supervisord?

I'm looking into changing our Django deployments and was reading the deploy page for gunicorn and it talks about both supervisord which I was aware of and planning on using and runit that I don't ...
2
votes
2answers
4k views

FreeBSD: How to install Django with mod_wsgi?

Using FreeBSD 8.2-RELEASE. I want to mess around with Django and I want a working setup on my freebsd system. My understanding is I need to install python, apache, mod_wsgi, and django. The ...