Doragonsureiyā
thank you
You're welcome! 😊
Sharwin
Sharwin
that was useful to a very good extent!
Вин Король Саксов
Use HTTPREFERER
A
https://stackoverflow.com/a/56355180
does it help you?
Bharathwajan
Matin
Hi
I get an error when I try to send an email in Django.
How can I fix that?
Error: socket.gaierror: [Errno -2] Name or service not known
Bharathwajan
Matin
use domain name without http://
i do not use
my settings:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp@gmail.com'
EMAIL_USE_TLS = False
EMAIL_PORT = 587
EMAIL_HOST_USER = 'EMAIL'
EMAIL_HOST_PASSWORD = 'PASS'
Bharathwajan
Matin
make TLS= true
Are you sure there is no problem with the socket?
Command: socket.gethostbyname("smtp@gmail.com")
result: gaierror: [Errno -2] Name or service not known
same error
Bharathwajan
Bharathwajan
make sure TLS=True
Bharathwajan
Bharathwajan
or you can use SSL also
Bharathwajan
EMAIL_USE_SSL =True
Peaches
where I can learn about hacking django websites with debug=true? Just working on my website and want to play with security.
Bharathwajan
SSL is more secure it uses several encryption algorithms during transmission
Bharathwajan
Matin
Bharathwajan
how can i fill the django forms values on my template
andrey
Hi. If i add primary_key=TRUE to the model, does it create index automatically, or should i add db_index=TRUE in additional?
Sachin
andrey
Droll55
Hi. I am trying to seed my database with user. I have enabled mandatory email verification (allauth) and i can't find the way, how to create user without email verification in seed.py . Is there any solution ? Also tryed to set is_active=True, doesn't work
Telegram
@dalerzafarovich @madyomah47 then which web framework should i choose ?
Telegram
Telegram
@dalerzafarovich @madyomah47
https://dev.to/mupati/build-a-scalable-video-chat-app-with-agora-in-django-1lle
Anonymous
burak
Hello guys is there a way to parse TextField() data to text without bs4?
burak
like a method? (working with rest framework btw)
Aman Jain
I need help in django rest framework
Mirco
Doragonsureiyā
I need help in django rest framework
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
kuzmich
hey there guys!
did someone find the easiest way to upload multiple images in DRF?
kuzmich
maybe a custom parser or smthg
Deleted
https://stackoverflow.com/questions/67721855/delete-password-last-login-superuser-status-groups-user-permissions-filed help!!!
منتظر
Dailies.objects.filter(daily=objct).filter(date=date)
why I get this error when I use double filter() in models.py
raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet
*the same code work without an issue when I use python manage.py shell
Divyesh
Best example share me for
crud optration with ajax
Divyesh
Includes using one creditors and one File
Divyesh
Creditors
Almaz
Hi there!
Guys, how can I set custom ordering in Django admin? I am able to do it using the model fields only, but I need to add custom logic.
For example, I want to display students who have exam today in the very beginning.
Thanks in advance!
Blaze
What could possibly be the cause of this?
"Unable to convert to python object: String input unrecognized as WKT EWKT, and HEXEWKB."
Working on geodjango, tried updating the location field
Telegram
whatsinaname
tuple' object has no attribute 'get'
I am getting this error while trying to parse json object
NIDESH
Any idea on how to create a user profile model in DRF and display the profile once the login is done
Deleted
https://stackoverflow.com/questions/67721855/delete-password-last-login-superuser-status-groups-user-permissions-filed
whatsinaname
How to work with json objects in django? Anyone? I have a json object that I need to display in my html
منتظر
Dailies.objects.filter(daily=objct).filter(date=date)
why I get this error when I use double filter() in models.py
raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet
*the same code work without an issue when I use python manage.py shell
💔 (;´д`)ゞ
Fatih
'django-admin' is not recognized as an internal or external command,
operable program or batch file.
Fatih
when i write this command: django-admin startproject myproject .
give that error
Fatih
help pls
S
Hi guys I am new to django and I have been learning to build a webapp. Earlier my codes were working fine and now all of a sudden css is not working.
S
Please me help if possible 🥺
Fazel
S
No it is true
S
Iam getting something called suspiciousfileoperation
Fazel
Iam getting something called suspiciousfileoperation
You get this error when a user has performed an operation that should be considered suspicious from a security perspective, such as tampering with a session cookie.
https://docs.djangoproject.com/en/3.2/ref/exceptions/#suspiciousoperation
Kashif
I'm facing problems while making 2 visualizations using charjs.
I'm able to visualize it One be one but whenever I try to visualize them both simultaneously I only see first one. Why is that?
#me {display: none;}
Guys, could you help me?
How can I customise error message for field of form , if this filed is required. I didn’t find answer at Stackoverflow, it doesn’t work(
Ray of Hope
S
Coder
Ray of Hope
You are able to view the contents ? Other than css ?
S
Yes..
Coder
S
Kashif
Ray of Hope
Try hard refresh if you can see the content without css
S
Hard refresh?..
Kashif
Ray of Hope
Or chek static file directory path