Тёмный

Email Verifications & Notifications - Deployment with Django - Part 5 

Andreas Jud
Подписаться 3,9 тыс.
Просмотров 3,5 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@MrValVet
@MrValVet 10 месяцев назад
Pure gold this tutorial and channel in general. I'm not done with the Django + HTMX yet, and can't wait to start this one. Thank you!
@ajudmeister
@ajudmeister 10 месяцев назад
Thank you. Good luck 😉
@jonatansnyders
@jonatansnyders 3 месяца назад
the confirmation email wouldn't get sent unless I attached the `email` parameter with it: `send_email_confirmation(request, request.user, email=primary_email.email)`
@ajudmeister
@ajudmeister 3 месяца назад
Hmm, by default allauth targets the primary email for the user, so it shouldn't be necessary to declare it explicitly. Do you declare the primary_email manually like this: primary_email = user.emailaddress_set.filter(primary=True).first()
@jonatansnyders
@jonatansnyders 3 месяца назад
@@ajudmeister more or less, yes: ```python primary_email = request.user.emailaddress_set.get(primary=True).email send_email_confirmation(request, request.user, email=primary_email) ``` Anyways it's working now. Thanks for being so responsive!
@codernerd7076
@codernerd7076 10 месяцев назад
Deployment videos for Django are so rare and this is complete Deployment!
@ajudmeister
@ajudmeister 10 месяцев назад
Yea, probably because it involves many services outside django, which get updated all the time, and the implementation can change at any time too.
@midhunskani
@midhunskani 10 месяцев назад
I have a doubt. How to hide the js code in production. I just don't want the users to just inspect my javascript code
@ajudmeister
@ajudmeister 10 месяцев назад
It's not possible to hide javascript code from the users as js executes in the browser. You can make it hard to read by minifying it, but users will always be able to get it and reverse engineer it. If you have sensitive logic you don't want to be public you need to write it on the server side eg. with python and send only the necessary data to the browser.
@midhunskani
@midhunskani 10 месяцев назад
Waiting for the ci cd tutorials.
@jayesh3446
@jayesh3446 7 месяцев назад
I am facing get address info error , error no 10109 . Pls help me to solve that issue
@ajudmeister
@ajudmeister 7 месяцев назад
Error number 10109 typically indicates a network-related issue, so not Django or Email specific. Could it be a network connection issue or Firewall block? Check if all the configurations are set up correctly (SMTP, SSL/TLS)
@jayesh3446
@jayesh3446 7 месяцев назад
@@ajudmeister Thanks for your quick response sir. i tried using env variables with f-string and it worked for me . thanks a lot .You are doing a nice Work keep it up. Hare Krishna 🙏.
@AmalEid-n5l
@AmalEid-n5l 3 месяца назад
Thanks
@ThắngPhu-z1t
@ThắngPhu-z1t 10 месяцев назад
Great guide
@frameff9073
@frameff9073 10 месяцев назад
thank
Далее
"Когти льва" Анатолий МАЛЕЦ
53:01
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 193 тыс.
Setup email authentication in Django
22:01
Просмотров 18 тыс.
Send Email in Django 2024 - Tutorial by Mailtrap
10:07
Tenants with Django, Intro - Part 1
19:40
Просмотров 2,3 тыс.
How I deploy serverless containers for free
6:33
Просмотров 509 тыс.
"Когти льва" Анатолий МАЛЕЦ
53:01