Questions tagged [django]
Django is an open source server-side web application framework, written in Python. It is designed to reduce the effort required to create complex data-driven websites and web applications, with a special focus on less code, no-redundancy and being more explicit than implicit.
141
questions
-1
votes
1
answer
36
views
When updating Wsl I Get an Error
enter image description hereenter image description hereI have Windows 11 machines
I installed docker and after installing I got an error "wsl --update"
And when I run the code wsl --update ...
0
votes
1
answer
29
views
Installing mod_wsgi requires C++ build tools 14 on Windows
I am trying to install Django following this tutorial: https://ahmadalsajid.medium.com/serve-django-applications-with-mode-wsgi-and-apache-on-windows-server-4d35ab2ac6b6
I am stuck at pip install ...
0
votes
0
answers
10
views
Proper Apache2 server configuration on VPS with Python Ubuntu
Hello: I am trying to get my Python-Django website running on a VPS and I seem to be running into a problem that seems basic yet dated judging from all the google searches. I wish to understand the ...
0
votes
0
answers
469
views
Weird requests to home server and possible security breaches
I am trying my hands on hosting a Django web app on my home server. I never fail to get weird requests from unknown IPs all around the world, such as the ones below:
Not Found: /ecp/Current/exporttool/...
1
vote
0
answers
68
views
Where is "erd" and "dot" program?
I have problem in vscode ERD diagram preview. (As seen above print-screen my VSCode)
Have tried: https://marketplace.visualstudio.com/items?itemName=kaishuu0123.vscode-erd-preview#configuration
What ...
0
votes
1
answer
676
views
Django, Nginx, CORS issue when server behind upstream but if query server directly responds fine [duplicate]
I currently have the following nginx file
server_tokens off;
upstream backend {
server unix:/home/www/api.to/app.sock weight=1;
#server 1.2.3.4 weight=1;
#server api3.example.com weight=1;
...
1
vote
1
answer
586
views
Nginx cors issue when using upstream
I am pretty frustrated with this as I can not seem to figure out why this is happening.
I have a Django webapp that was working fine. When I tried changing the worker_connections I started getting ...
2
votes
1
answer
324
views
"This page isn't redirecting properly" on one particular site with one particular user
I administer a web site (https://fury.games) and one of our users is reporting that they cannot load the main page and get the following error:
I cannot reproduce the error, no other users have ...
0
votes
1
answer
159
views
Installation of Tandoor on shared webhoster (no root access)
I'm trying to install Tandoor (https://tandoor.dev) on my uberspace (https://uberspace.de - shared webhoster). Docker is not supported by uberspace, so I tried the manual installation guide: https://...
0
votes
1
answer
1k
views
Is there a way of knowing if a Django server is running in DEBUG mode?
Given a third party project running Django on a cloud platform behind NGINX or Apache, is there a way of knowing:
the project is indeed using Django as a framework
whether DEBUG is set to True or ...
0
votes
1
answer
2k
views
Start Django App When Windows Starts
I would like to start a Django App automatically when Windows starts.
I created a .bat file (that I intend to execute using Task Scheduler) containing the following:
C:\Users\HP\project-name\Scripts\...
1
vote
0
answers
901
views
Python manage.py permission denied in Windows
I created a Python project and then tried to run the command python manage.py runserver in VS Code terminal but it keeps on displaying permission denied.
0
votes
1
answer
123
views
multiple django + reactjs, two web server setting?
I have multiple project set
)WebApp_A
Django_A + ReactJs_A
)WebApp_B
Django_B + ReactJs_B
For now I am using apache for ReactJS_B and use nginx for Django_A
mydomain.com comes to Apache(ReactJS_A) ...
1
vote
0
answers
7k
views
gunicorn.service: Failed to determine user credentials: No such process
I keep getting an error when trying to set gunicorn with my django project
● gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; disabled; vendor preset: ...
0
votes
1
answer
190
views
How to kill running Ports using Linux Console?
In my scenario I am try to run Django code using
~$ python manage.py runserver command. While running it, I get:
port 8000 already running
How can I kill the running process of port number?