Questions tagged [django]

Django, "the web framework for perfectionists with deadlines", is a Python-based framework for creating web applications. With a powerful object-based database mapper, a clean syntax for mapping URLs to views, a simple template language and a convenient automatically generated administration interface, Django is the most popular of the Python web frameworks.

1015 questions
-2
votes
1 answer

Sending emails via django does not work on Gunicorn / NGinx`

I am trying to send an email from my django application. However, this does not work on my NGINX (used for static resources) + GUNICORN Server. But, the same works on django's default webserver. I have not setup a mail server per se as of now. I am…
manugupt1
  • 109
  • 2
  • 9
-2
votes
1 answer

idle proccesses and high memory bad? uwsgi/django

I have a VPS with 256MB of ram. I'm running nginx, uwsgi and postgresql on Ubuntu 12.04 for a soon to be Django site. About 200MB of ram are being used despite the website not being active, the uwsgi processes seem to just be idling. Is this bad? I…
-2
votes
1 answer

One of my websites stopped working without apparent reason. Help me figure out why?

Hello I'm running unmanaged VPS at Hetzner with Ubuntu Linux. I use Apache to serve webpages and I have 8 websites on it. One particular website stopped responding without reason. Nobody touched anything on that VPS two days ago and it just stopped…
-2
votes
1 answer

Django: Nginx with wsgi or uwsgi

Which one has better performance, stability? Which monitoring tool should also be the best choice ? Thanks for your answers!
Method
  • 101
  • 2
-2
votes
3 answers

Ubuntu 11.10; Python2.7 wanted on libapache2-mod-wsgi insted of Python2.6

I have trouble with configuring a Django server in mode wsgi with Ubuntu 11.10. Here is the problem: the latest ubuntu 11.10 has python2.7 as default. Installing apache2 and libapache2-mod-wsgi expect to work with python2.6. My configuration is…
Method
  • 101
  • 2
-2
votes
1 answer

Hosting Multiple Django Websites on a VPS

I'm moving away from WordPress and into bespoke Django websites. I've settled on Django as my Python framework, my only problems at the moment are concerning hosting. My current shared hosting environment is great for WordPress (WHM on CloudLinux),…
-2
votes
1 answer

AttributeError: /usr/lib/libgdal.so.1: undefined symbol: OGR_F_GetFieldAsInteger64

when I deploy my project on google cloud I get the error File "/opt/python3.7/lib/python3.7/ctypes/__init__.py", line 377, in __getattr__ func = self.__getitem__(name) File "/opt/python3.7/lib/python3.7/ctypes/__init__.py", line 382, in…
-3
votes
1 answer

Change request URL setting in my Django Project with 'Nginx'

I am using Django with Nginx and Gunicorn. When I type in https://DomainName[dot]com in the browser below is the message that I get. Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8001/ Can some one please…
Pravi
  • 107
  • 4
-3
votes
1 answer

What are some unnecessary processes in Ubuntu 12.04?

So, I'm using Ubuntu 12.04 for my AWS instances and when I first start it up and look at the processes there seems to be a lot of things running that I'm not sure are necessarily needed for my purposes. My instance is essentially just needs to run…
-4
votes
1 answer

where should my index.html be? django

I have a friend working with me preparing some web services in a virtual server of mine, he is in a different time zone, and can't talk to him right now, i have access to the server, with ssh, sftp i need to upload a file to the folder where…
1 2 3
67
68