rtg
502 Bad Gateway
nginx/1.18.0 (Ubuntu)
rtg
I don understand what is happening.
Charly
rtg
I ca look nginx logs, but where are Gunicorn logs?
Charly
rtg
2022/05/03 22:14:24 [error] 47590#47590: *308 connect() to unix:/run/gunicorn.sock failed (111: Connection refused) while connecting to upstream, client: 88.9.102.33, server: example.eus, request: "GET / HTTP/1.1
", upstream: "http://unix:/run/gunicorn.sock:/", host: "www.example.eus"
Charly
Charly
thats an nginx log
Krunal
I have legacy database in postgresql. While inspectdb how to match postgresql data types with django?
Charly
𝒮𝒽𝒶𝓏
Hello guys
i am new to django, wanted to know how to check 300-400 websites are up or no using django response code
can anyone please guide me on this
SSR
Dado
I need help Please, i'm using Django on Kali-linux, but it doesn't work well there's one week. So, I would like to remove the Django package and install another last one version 'cause i've cheked the python's version that i have on m'y pc, it's python2.
Cuteu
Which version of python you use to install django
foscraft
foscraft
Alternatively you can use miniconda to create envirenments and install any version of python and django you want.
Shubham
Hello
Did anybody know a good online code sandbox for django?
Thank you
Maximiliano Exequiel
hi everybody i need some help with it... https://es.stackoverflow.com/questions/531902/actualizar-multiples-objetos-en-djangorestframework. ty
Anonymous
Hello
I'm tying to serve template's Excel files, should I put them on the static folder or where?
Prathmesh
SMTPSenderRefused error is showing while sending email in django
Prathmesh
What to do??
Bobosher
Hello.
I ran into migration conflicts where two migrations with same migration number exist because of several developers working in parallel.
In order to fix this problem, I tried to start from scratch by deleting all the migration files and removing the entire database and re-creating a blank one.
Now I'm running makemigrations command and django's raising this exception:
ImportError: cannot import name 'migrations' from 'django.db'
Searched on google and found almost nothing related.
Could you please, give some suggestion on handling this situation?
Mirco
Doragonsureiyā
What to do??
Read this please:
http://catb.org/~esr/faqs/smart-questions.html#intro
Mirco
HamidReza Fekri
Hello What do you recommend before I start reading Django source code bc I found it difficult
Fan / Ac
HamidReza Fekri
Fan / Ac
Thanks
first read django doc
HamidReza Fekri
first read django doc
I'm familiar with Django but I found Django Source Code difficult
HamidReza Fekri
Maybe advanced knowledge in Python is really necessary so what do you recommend
HamidReza Fekri
If anyone have useful experience in this case please share with me
Fan / Ac
cj
HamidReza Fekri
Fan / Ac
Tnx 🙏🏼🙏🏼
+ knowing about wsgi will help
HamidReza Fekri
Anonymous
How can i have multichoice integer field for model
Maximiliano Exequiel
NO = 0
SI = 1
NO_COMPLETADO = 2
CHOICES = (
(NO, 'No'),
(SI, 'Sí'),
(NO_COMPLETADO, 'No completado'),
)
texto = models.TextField('texto', blank=True, null=True)
choice = models.IntegerField('si/no', choices=CHOICES, default=NO_COMPLETADO)
Anonymous
NO = 0
SI = 1
NO_COMPLETADO = 2
CHOICES = (
(NO, 'No'),
(SI, 'Sí'),
(NO_COMPLETADO, 'No completado'),
)
texto = models.TextField('texto', blank=True, null=True)
choice = models.IntegerField('si/no', choices=CHOICES, default=NO_COMPLETADO)
I want to select multiple choices
Maximiliano Exequiel
like in the forms?
Maximiliano Exequiel
sory my english... https://stackoverflow.com/questions/27440861/django-model-multiplechoice
Anonymous
please can any one suggest me django resourse to learn
Anonymous
which have proper explaination about all files
Anonymous
what r there use
Anonymous
i am beginer to django
Anonymous
i saw offical dic its find little hard to grasp
Anonymous
Maxim
Charly
Maxim
Maxim
Anonymous
thank you
@l!®€z@
hello friend i cannot import model form app product and show me this error cannot import name 'product' from partially initialized module 'product.models' (most likely due to a circular import) (C:\Users\alireza\PycharmProjects\ecommerce\product\models.py)
Jerome
Siya
Hey I am building an e learning platform. Can anyone recommend resources to follow for creating the Live classes module using zoom?
Raja
Error:Invariant violation text must be rendered within component
Raja
In react native whenever i use react-phone-number-input
Raja
How can i resolve it
Mirco
u r tooootally ot
Sunny
my serializer gives reponse like this when many=True
[{a: 1}, {a: 2}]
i want response like [1,2]
Mirco
Matuo
Hi guys, i have one question
How can login my user without django set session??
Matuo
It will set a cookie with the Django automatic login module, and I do not want this to be automatic and I want it to be manual
Matuo
I want this for when ( remmber me check box is true) then django set session
Mihail
how to add default EMAIL_BACKEND in pytest-django to send real messages to email adressess?
Mirco
Matuo
Maximiliano Exequiel
Mihail
Mihail
Maybe if you use djngo email bandit?
For your test environment you should enable the backend:
EMAIL_BACKEND = 'bandit.backends.smtp.HijackSMTPBackend'
I would like to do it without django-email-bandit to EmailBackend :D
Mirco
Mihail