Doragonsureiyā
thank you
You're welcome! 😊
Sharwin
that was useful to a very good extent!
Вин Король Саксов
Use HTTPREFERER
A
https://stackoverflow.com/a/56355180 does it help you?
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
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'
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
make sure TLS=True
Matin
use smtp.gmail.com
Oh yes What a ridiculous mistake
Matin
make sure TLS=True
EMAIL_USE_TLS = True ?
Bharathwajan
EMAIL_USE_TLS = True ?
you are trying to send just automated mails right ?
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.
Matin
or you can use SSL also
What is the difference?
Bharathwajan
SSL is more secure it uses several encryption algorithms during transmission
Bharathwajan
where I can learn about hacking django websites with debug=true? Just working on my website and want to play with security.
try to learn web application penetration testing gain knowledge on sql injection attacks
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?
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 ?
Mirco
@dalerzafarovich @madyomah47 then which web framework should i choose ?
why making this question in a Django group ? what's the sense ? Choose the one that better fits your needs
Mirco
Lol 😁 u have to come from top to understand this thing man ...
wherever the conversation comes, I don't see any sense of asking this question in this kind of group it makes more sense by asking it in @python when someone does not know what to choose 😊
Telegram
@dalerzafarovich @madyomah47 https://dev.to/mupati/build-a-scalable-video-chat-app-with-agora-in-django-1lle
Telegram
wherever the conversation comes, I don't see any sense of asking this question in this kind of group it makes more sense by asking it in @python when someone does not know what to choose 😊
Okay man just focus on your work if u r not happy to help someone ..... If there is some optimized way of doing that work i would choose that .... If the title of the group is django that does not mean every thi g is limited to django .....
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
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!!!
Daler
@dalerzafarovich @madyomah47 then which web framework should i choose ?
U can do this in django but it would be pretty hard. Use async frameworks instead such as aiohttp
منتظر
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
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 🥺
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
You are able to view the contents ? Other than css ?
S
Yes..
Ray of Hope
Try hard refresh if you can see the content without css
S
Hard refresh?..
Ray of Hope
Or chek static file directory path