Anu
My server page is not loading
Anu
What do I do now??
Maxim
Anu
The server page where the data is being stored is not loading and says " This site can't be reached, 127.0.0.1 refused to connect "
Anu
Have I done any mistake please tell me
Amirhomayoon
Anu
I did this, still not working
Anu
Actually there's no error given in the terminal, the main website and the admin page is working as it is but not the server page
Anu
How will I check the data base
Anu
Btw I'm using xamp server
Anu
Does it has anything to do with XAMPP control panel??
Chintu
python3 manage.py runserver
Anu
Ok...I figured it out
Anu
Now please tell me how will I add the data of employee and how do i make the portal
Kim
Can anyone help me
I want to return to the previous commit in git
How can i do that?
Charly
Kim
'DjangoModelPermissionsOrAnonReadOnly' object has no attribute 'authenticate'
Kim
how can i solve this error
Erick
I'm sending an email to make a project send it right for the project to send it right to make a registration. Can anyone point me to a lib or document for this?
Thank you already!
Charly
Erick
Typically that, but if you have another option it will be welcome, because I'm trying to do that, but still without success.
Erick
I wanted to activate the user after registering on the site.
Charly
Erick
Yep!
Rakesh
Kirime
Hi! How do you deploy django project from remote repository to linux server? (I used 'git clone <url>' and got many problems)
Charly
Kirime
Mathis
it is possible to deploy asgi application on aws ec2
Mathis
it is possible to deploy django websoket application on aws ec2
Charly
Charly
Malik
I need to practice a full stack project with django to put in my GitHub profile.
Could u please provide me with recommendations for any YouTube or paid course which can guide me step by step
Oloba
Hi guys, I've successfully created a reset password for my django project, unfortunately, it sends raw Html to my email
Oloba
Oloba
ким
from django.db import models
class User (models.Model):
username = models.CharField(max_length=20) #имя юзера
photo = models.ImageField() #фото юзера
age = models.CharField(max_length=5) #возраст
corse = models.CharField(max_length=7) #курс
numbers = models.CharField(max_length=12) #номер телефона
history =models.ImageField()
Direction = (
('Psichology', "Psichology"), #специолизация
("Pediatric", "Pediatric"),
("Dentistry", "Dentistry"),
("Cardiologist", "Cardiologist"),
("Oncologist", "Oncologist"),
("Ortopedist", "Ortopedist")
)
direction1 = models.CharField(choices=Direction, max_length=100)
ким
how to register views.py for this model? and with urls.py help with it
Cezar
what do you mean register views.py? you mean how to bring the model in view.py to create a context?
iplogger
shaz
Hi, I have an issue while using Django Rest framework pagination. In the DRF pagination results the next and previous URLs are formed with HTTP instead of https
Hax
Hi guys, i create webapp with database SQL, i have some question.
If 200 people try Get data from my site, i need inplement asyncio for deque requests? 🤔
What I mean is that the site should be able to produce results from the database for each person, is that not necessary?
Paul
Андрей
good afternoon, tell me how you can update the fields and update 1 field by going to forengkey
Paul
Vladimir
Response() method from rest framework return data in json format or not? Do i need to use JSONRenderer().render() method?
Mirco
Vladimir
thanks
LStyle
Who knows how sse in Django channels
Alex
Tanner
Server sent events
LStyle
I want to know how to implement sse using Django channels
LStyle
in django channels there is asyncHttpConsumer with which you can implement sse, but I don't know how to configure the routing of this consumer
Александр
hello, my swagger doesn't work fine , code example is here https://pastebin.com/jPR7yZtY
Александр
just alert failed to load api definition
Mirco
Use the serializer, it's better
Mirco
Then you can pass even a string to response as data
Mirco
Study on the official docs, you find every answer
{% Mohammed ALKHAFAJI %}
Hi everyone.
I'm trying to deploy Django project in "Railway" but i got this error
*note : I have procfile and requirements.txt and runtime.txt in my project
####################################
==============
Using Nixpacks
==============
Nixpacks build failed
Error: Error reading requirements.txt
Caused by:
stream did not contain valid UTF-8
#####################################
How can fix it please
thanks
Patrick
I have deployed django on aws...
followed digitalocean documentation,
But in Admin panel css isn't working.
I tried static files using nginx configuration as well as settings.py configuration...
Any quick hack?
collectstatic has generated files in static folder but I'm not sure why it is not rendering
Rajat
Xoxooxo
Anonymous
Abhiram
Can anyone recommend me libraries for compressing videos in python
Alex
Abhiram
Thanks
Cezar
Dmitriy
Hi!
Can anyone tell me why the error is being issued? Where to place the file correctly?
HTML is launched on the page, in which there is a Py Script (the file display is launched). In the same path where the HTML is there is a file. which runs the script. The web gives an error: No such file or directory
Dmitriy
In pyscript, the file runs like this:
f = open('file')
Mkt.z
@all
Why django sever run twice!?
Is it ok to use --noreload in django or use of it results in any error or functionality break!???
Cezar
Anonymous
Patrick
Dmitriy
Give more light to your questions
I'm launching a Django project. In it, Pyscript runs on a specific HTML page,
Pyscript specifies that the file should be opened and displayed on an HTML page. This file is located in the same directory as the HTML page. I also put this file in a directory along with Pyscript. As a result, in the script it looks like this:
f = open('file')
print(*f)
When opening this page, an error message is displayed that this file was not found: [Errno 44] Not such a file or directory: "file"
How to specify the file path correctly?