Anonymous
Telegram links za jobs za Kenya Msee asukume huku na remote pia Tuokoleane
Anonymous
Za coding
Rakesh
What js will send to db at every time
Ajax post request...not sure
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
my goal is to send a email to everyone on t_email group
Follow the django email code you definitely get the solution
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
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
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
form: https://pastebin.com/ejXyUmG4
It's default, not Default
Mirco
form: https://pastebin.com/ejXyUmG4
Your CharField with choices The attribute default has the capitalized D that it's wrong
Michael ✨
I tried typing "dafault" and "Default" but in both it gives me the same error{
Mirco
Not dafault nor Default It's default
Michael ✨
yes, I wrote "default" but it gives me the same error
Mirco
yes, I wrote "default" but it gives me the same error
Nah, try with default and show again the error
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 ✨
Mirco
https://pastebin.com/hL7MHGvf
Sorry my bad, form's ChoiceField has no default attribute The default attribute is called initial
Michael ✨
Oooo
лямбдλ
Hello which database to choose for Django.
Michael ✨
estado=forms.ChoiceField(choices=ENTIDADES,label='Estado',required=True,initial=1)
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
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 ?
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🤦
Doragonsureiyā
Anyone please help me, I have created S3 bucket in aws. After the process my image is not displaying in web🤦
What have you tried to do so far to solve that issue? Show your code and explain where and why you're stuck on solving your issue. Read rule 5️⃣ to learn how to show your code
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>
Rakesh
there is a difference between "can be done" and "should be done")
I am not so experienced... You can give better solution is you know.... moreover I never programmed such thing
Sai
Okkk..any free app suggestions will be great
No you won't get free apps but twilio provides 14 free trial after that you should pay
𒂵𒐊𒍝𒊏
hi my static fiels does not work ☹️
𒂵𒐊𒍝𒊏
𒂵𒐊𒍝𒊏
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
Why did django site start taking a long time to launch?
Due to missing experience about deploying
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
Devo
Please ping me the GitHub link of Django + react app related