Anonymous
Telegram links za jobs za Kenya
Msee asukume huku na remote pia
Tuokoleane
Anonymous
Za coding
Rakesh
Valter
Hi guys, below is my code that a Django frind help me out, but it's sending all email to the first email on the list only, please help on how to on recipient = request.user.email move for the next email on the list automatialt_email = User.objects.filter(groups__name='tra')
for user in t_email:
recipients = request.user.email
Valter
t_email = User.objects.filter(groups__name='tra')
for user in t_email:
recipients = request.user.email
Valter
sorry, enter pressed prematurely.
Valter
my goal is to send a email to everyone on t_email group
.....
How to get data form external api?
Tukhtamurod
You can do that using JS
there is a difference between "can be done" and "should be done")
Sai
First get all the email ids of t_email group and pass it to django email
Valter
The sending email is working fine (didn't post the code) my issue is the code know how many user are in the group t_email but the email is sending that many time to a single user for example, in the t_mail group has 2 user so the code is sending 2 email to the first use in the group and I want to send to everyone on the group. I hope this makes sense. And thank you for your help.
Valter
full code:
Mirco
!paste
Doragonsureiyā
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you post a wall of text (many lines), delete it or you can get a warn strike.
Valter
sorry about that, here is my code https://del.dog/focywenosa
Marcos
recipients = [u.email for u in User.objects.filter(groups__name='tra')]
this will create a list of all emails
shashikant
d0nt_delete_me
hi guys, I want to have a reverse counter that works between paginator's pages. Someone knows how I can do it? I basically want that the last element of the last page is 1 and so on
Patience
Wishmaster
Michael ✨
Hello, I have an error in my "form" class, right in "ChoiceField", above I have a list of entities (id, "name"), and I want to put a default one with the "default" attribute but it gives me an error, already try many things and persists. someone who knows what I'm doing wrong?
Michael ✨
form: https://pastebin.com/ejXyUmG4
Michael ✨
error: https://pastebin.com/rWY7ELDF
Michael ✨
Help me please :c
Mirco
Michael ✨
I tried typing "dafault" and "Default" but in both it gives me the same error{
Mirco
Mirco
Not dafault nor Default
It's default
Michael ✨
yes, I wrote "default" but it gives me the same error
Mirco
Mirco
I bet is another error or you mispalled it again 🙂
Michael ✨
https://pastebin.com/hL7MHGvf
Michael ✨
The same error :c
Michael ✨
https://pastebin.com/KuCKLLS6
Michael ✨
Michael ✨
Oooo
лямбдλ
Hello which database to choose for Django.
Alda
Michael ✨
estado=forms.ChoiceField(choices=ENTIDADES,label='Estado',required=True,initial=1)
Mirco
Michael ✨
Thank you very much, if that was it hahaha
лямбдλ
Postgresql.
Thanks, but it's hard to learn it
Michael ✨
You are going to hate me ... Hahahaha but I have another error, you can see what my list has (value, label) because when I get with the "GET" method it returns the number I mean "value" and it helps me to buy it in my c
Michael ✨
Class*
Michael ✨
My class: https://pastebin.com/YZD8NRjN
Mirco
Michael ✨
my error: https://pastebin.com/4w73Ax6f
Michael ✨
so it only changed line 8 of my class to: state = int (get_state_display ())?
Michael ✨
👀?
TheDoc
The Better database : Postgres or Oracle ?
asterix
Dev__master
Dev__master
Rushabh
Is that anyone have justDjango website premium courses. For video subscription website.
sainath
Anyone please help me, I have created S3 bucket in aws. After the process my image is not displaying in web🤦
sainath
sainath
I have no problem in my django code, but after creating S3 bucket , my image is stored in S3 bucket and not displaying in web brower
sainath
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>CA4454AACA61F45E</RequestId>
<HostId>
5fAq4OGDrjMUD9b012vBi495TizgPsrkHQh3ZFZYdzcv2LJLuY48F/Ug1KzEQV5iArlt0DY1Ixg=
</HostId>
</Error>
sainath
𒂵𒐊𒍝𒊏
hi my static fiels does not work ☹️
Zelo
𒂵𒐊𒍝𒊏
𒂵𒐊𒍝𒊏
Anonymous
put your bot near telegram dcs
Mirco
Create your own admin panel or use what you have without rest API auth
Mirco
Open DRF docs and follow the tutorial about Token authentication
🏁 🏁 🏁
Why did django site start taking a long time to launch?
Mirco
ELYAS
Hi what is the best way for adding social share in django
Rakesh
🏁 🏁 🏁
what is the best way to publish a site? How do you do it?
John
how can use Django backed social auth in mobile application i odes find any example related this
Prince
Devo
Please ping me the GitHub link of Django + react app related