Skip to main content

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.

0 votes
1 answer
13 views

I am looking to set up database backups for my Django application, which uses MySQL. I was trying to create a cron job that ran manage.py dumpdata. It looked like this: 0 18 * * * python3 /home/my-...
PT-Hrothgar's user avatar
0 votes
1 answer
254 views

I have a website at cerulinux.com that works great. But then I introduced subdomains. You click on the link for the page you want to have your subdomain pointed to, it shows the subdomain in the URL ...
TheFlyingPrussian's user avatar
0 votes
1 answer
86 views

I have a Django ninja server with a 13+ second delay returning data on Postman. Below are logs from the server. [2025-05-26 09:04:23 +0000] [95795] [INFO] Starting gunicorn 23.0.0 [2025-05-26 09:04:...
Basel Abuhadrous's user avatar
0 votes
0 answers
35 views

I inherited a web server and firewall setup. While I'm comfortable adding subdomains by modifying Apache's sites-enabled .conf files, I need guidance on switching a live site to a new one. Goal I want ...
Codejoy's user avatar
  • 171
-3 votes
1 answer
245 views

I have setup Nginx with gunciron and django. Everything seems to work fine , atleast that what i believed. However , when i check the .gunicorn-logs directory as specified to be created in docker and ...
Earthling's user avatar
0 votes
1 answer
66 views

it consists Apache2 linked with Django as backend(WSGI), and React as frontend. But it returns only '403 Forbidden' with symbol AH01630 in the error log. Also Apache2 version is 2.4.58. A part of ...
pico's user avatar
  • 1
0 votes
1 answer
81 views

Good afternoon, I ran into the problem that it is not possible to launch a Django project inside kybernetike. I have a deployment for the project. apiVersion: v1 kind: Service metadata: name: django-...
Сергей Дударев's user avatar
0 votes
1 answer
194 views

I'm trying to migrate an existing service to another server. It's a combination of Django, Postgres, RabbitMQ, Redis, and React, served through WSGI (Gunicorn) and reverse proxied through Nginx. ...
demonsfromthepast's user avatar
0 votes
1 answer
509 views

So I have an Ubuntu server set up to host my website, which runs on Gunicorn, Django & NGINX. Everything is operating correctly until I run the python3 manage.py createsuperuser command. The ...
user avatar
0 votes
0 answers
104 views

So I have just configured a Linux server. Is there any valid reason as to why I'm seeing the message: It looks like example.com closed the connection #nginx.conf user root; worker_processes ...
JoJoJohan's user avatar
0 votes
1 answer
240 views

This is currently my setup: publicly available private network __________________________ ______________________________ | Traefik reverse proxy | <--> | nginx <--&...
user3389669's user avatar
1 vote
0 answers
87 views

I have a django project called django_project and a domain website.com , I want to host the subdomains of this on different server. So , django project Server A website.com django project Server b ...
bleh's user avatar
  • 11
0 votes
0 answers
141 views

I have two applications. One is a Django app and the files for this is located at /home/founders/founders/back The site is running and you can see it on founderslooking.com I have another Vue site ...
SnowCrest Digital's user avatar
0 votes
0 answers
148 views

I have a Django server that has entries like ALLOWED_HOSTS = ['example.domain.com']. In my nginx config, under sites-available, I have a bunch of sites listed, all listening on different servers like ...
lessness's user avatar
0 votes
1 answer
199 views

I am trying to make two apps be accessible on my LAN server (raspberry pi). lab_app: this one is a very simple app, made with flask from a third party, using a sqlite3 database, which results to be a ...
Tms91's user avatar
  • 105
-1 votes
1 answer
390 views

I'm using MySQL v8.0.35 with django and python. A website is used to access the database with both the website and database hosted on AWS. When the website tries to access the database in any way, it ...
Meep's user avatar
  • 1
1 vote
1 answer
2k views

I'm using Django+Gunicorn+Nginx for my web application in a Ubuntu 22.04.4 server. I followed this guide until the end and my web is running in production. However, static files are not working (css, ...
pfrud's user avatar
  • 21
0 votes
0 answers
121 views

We have been using this server for an year already as our Django application development server but it stopped launching the site on whatever port we start the application. Digital Ocean hosting ...
Santana's user avatar
  • 101
-1 votes
1 answer
600 views

I have an application container behind an Nginx reverse proxy. When I access the application via https, the POST request returns 302 and then the GET returns 200. See monitoring via browser: Request ...
campos's user avatar
  • 125
0 votes
1 answer
1k views

I've a Django app inside a docket that uses uwsgi. Since we have several Dockers running on different machines we have haproxy as load balancer. My question is: should I use uwsgi with http or http-...
EsseTi's user avatar
  • 257
1 vote
2 answers
1k views

I followed this guide to setup my Django application to work with my nginx webserver. However upon testing I discovered that www data group did not have access to my applications static files and ...
darkrai's user avatar
  • 13
0 votes
2 answers
472 views

I have a Django web app sharing external ports 80 and 443 with another server. localhost works fine without the reverse proxy, but when it is enabled, I run into all kinds of errors. How to make ...
Sati's user avatar
  • 119
1 vote
2 answers
468 views

I've found many similar articles with similar issues, and a couple of them concluded the Apache service just cannot be run at all for my situation. However I did get the service to run -- only it ...
JDM's user avatar
  • 13
0 votes
1 answer
641 views

I'm inheriting this old Django project hosted on an EC2 instance. It used to run on Heroku and used a Proximo proxy in front of gunicorn. Now it just runs a systemd script with the following: ...
AlxVallejo's user avatar
  • 1,096
0 votes
1 answer
154 views

I am modifying djangocookiecutter to meet my requirements. I have Vue + Django REST production.yml version: '3' volumes: production_postgres_data: {} production_postgres_data_backups: {} ...
Stone's user avatar
  • 171
0 votes
0 answers
275 views

i set up this environment on AWS: VPC: 1 Public subnet Route table with Internet Gateway 2 Private subnets Route table with NAT I created a subnetgroup with the private subnets and attached it to ...
ale_93_be's user avatar
0 votes
1 answer
179 views

My web server utilizes Apache and Django for its web service. Occasionally, the web service produces a "Bad Request (400)" error. After reviewing the error log, I noticed that there is a 6-...
Manu's user avatar
  • 111
0 votes
1 answer
528 views

I made a "Contact Us" form in Django, and the Django part of it seems to be working. But sending of the email it generates fails with SMTPRecipientsRefused at /contact/ {'[email protected]'...
LeonTheGreat's user avatar
1 vote
1 answer
340 views

My setup uses a map to define different Expires headers for various static files (based on their mime type). For proxied content (uwsgi_pass), I use a static Expires header: map $...
janeden's user avatar
  • 291
1 vote
1 answer
2k views

I'm new to docker, trying to build a website by following a online course but i was struck with this error in the beginning itself FROM python:3.9-alpine3.13 LABEL maintainer="rohitgajula" ...
Rohit Gajula's user avatar
1 vote
0 answers
1k views

I'm currently training in the Django framework and am attaching a CSS document to an HTML document. All pretty straight forward staff. Except it apparently isn't. Hardly surprising really. Can anyone ...
Hunktydunkaty's user avatar
1 vote
1 answer
1k views

Trying to host Django 4 app with PostgreSQL database on Windows Server 2016 with IIS manager 10 and httpPlatformHandler 1.2. The app and database work without issues when running on a VM server with ...
Nika Tvildiani's user avatar
0 votes
1 answer
271 views

Right, is there any particular valid reason as to why - despite me doing everything correctly - do I get the error 404 message when I deploy my development server (on port 8000) from PyCharm? This is ...
Hunktydunkaty's user avatar
0 votes
1 answer
359 views

My friends and I have made a project which is made out of two parts. One is made in Django and other one is made in php language. We have just one server so we want to use 2 subdomains. My question is ...
Mehan Alavi's user avatar
1 vote
1 answer
583 views

I have a django application deployed on an AWS IIS server. Static fils are served just fine via 'runserver', but not via the IIS server. I have done everything right but it doesn't work. i even tried ...
Henry's user avatar
  • 11
0 votes
2 answers
179 views

I have moved a server configuration to a new server and at the same time configured it with apache mod_proxy to access a gunicorn/django webserver (inside a docker container on port 8000). Previous ...
yo_e-h's user avatar
  • 3
0 votes
1 answer
620 views

I've got a GKE private k8s cluster with nginx and a django application running with wsgi and asgi. Logs from nginx show that websocket requests get a 403, and the logs on the daphne pod are showing &...
markwalker_'s user avatar
0 votes
1 answer
231 views

I have installed mailman3 and followed this instruction: https://lab.uberspace.de/guide_mailman-3/ My problem is, that css files for HyperKitty (and the login screen) are not available. If I'm on ...
habakuk's user avatar
  • 61
0 votes
1 answer
470 views

Problem: nginx doesn't apply configuration for subdomain if there are domain and subdomain config at the same time. Disclaimer: I'm new to nginx and server deployment. Question: What I do wrong with ...
agas0077's user avatar
1 vote
1 answer
879 views

I'm currently working on a Django project that utilizes Docker, and I recently set up an SSL certificate using a containerized version of Certbot in order to secure my Django app through HTTPS. ...
Nikko's user avatar
  • 121
2 votes
0 answers
791 views

I'm hosting a Django-App which serves as an API-Endpoint. Unfortunately the App which uses the API does a lot of concurrent requests on page-load (in the realm of 80-90 requests). Nginx is running as ...
Subito's user avatar
  • 408
0 votes
0 answers
452 views

I am trying to get a django app running on a apache2 server both on a raspberry pi for a project of mine. The appache server is running but I can't pull up the web page as I just get an "Internal ...
907VigiL's user avatar
0 votes
1 answer
364 views

I have a Django website running via nginx under user www-data and gunicorn under user myuser bound at /run/gunicorn.sock. nginx works just fine; it acts as a proxy to the gunicorn Unix domain socket. ...
Bobort's user avatar
  • 126
0 votes
1 answer
2k views

I'm deploying a django/nginx/gunicorn site and am following this guide while doing so. Following the subheading "Final Steps for Production Deployments", I've created a production gunicorn ...
Matthew Calabresi's user avatar
3 votes
1 answer
171 views

The web site is running, Gigicorn has multipule workers. For some reason the url_calling : http://web?id=value the id=value do not propagate coherently, (sometimes it works, but most of the time it ...
user3505444's user avatar
1 vote
1 answer
3k views

I am trying to connect to my hosts postgresql server (version 14) from my django app running in a docker container. here are my settings docker-compose.yml: version: '3' services: web: build: ...
bwright's user avatar
  • 133
0 votes
1 answer
2k views

I am trying to deploy django with gunicorn and nginx on heroku, and i'm kinda confused with the way to config gunicorn and nginx, when i searched through internet, they usually create gunicorn.socket [...
Tùng Nguyễn's user avatar
0 votes
0 answers
107 views

If I put a link on a comment on Twitter, facebook and other place the website analyse the link and show a small preview of the link if possible. It could be a small player for a video or an image with ...
alfor's user avatar
  • 1
4 votes
2 answers
7k views

I'm new to redis, but I want to set one up on my Raspberry Pi 4 (RP) for using it in a Django application (with celery). On my RP I have installed a firewall, ufw, and allowed incomming traffic from ...
CutePoison's user avatar
0 votes
1 answer
3k views

I am getting following error when running search feature on my site (search feature makes api request to my api server): 2022/08/31 21:01:56 [error] 726#726: *23 connect() failed (111: Connection ...
codyc4321's user avatar
  • 103

1
2 3 4 5
21