Logging in and Logging Out - Django Wednesdays Twitter #9

Logging in and Logging Out - Django Wednesdays Twitter #9

Codemy.com

1 год назад

6,637 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@the_flash_light
@the_flash_light - 08.02.2023 23:57

Nice video, first time doing login and logout with functions (used ORM before). Anyway, I think to center the form it is better to use this div (BootstrapMD): <div align="center" class="position-absolute top-50 start-50 translate-middle mw-50 p-3"></div>; This one is centered perfectly imho :)

Ответить
@the_flash_light
@the_flash_light - 09.02.2023 00:10

Can you also please include in future forgot password functionality, really wanna see it done in functions in view!💙💛

Ответить
@raomohsin6965
@raomohsin6965 - 10.02.2023 17:13

Hi codemy,
I want to know how to print distinct or unique values in Jinja html template {% for a in b %}
<li> {{ a }} ..,...
I want to print only unique values in my list b.
The items in b are the result of query set
B = table.object.all()
Thank you,
Rao

Ответить
@ryanb55
@ryanb55 - 29.07.2023 17:38

You wouldn't put the login or logout at the server level vs the app level?

Ответить
@4kids555
@4kids555 - 09.08.2023 01:23

best bald guy ever

Ответить
@sharab2639
@sharab2639 - 20.08.2023 07:17

wow very useful

Ответить
@rishabmahajan5737
@rishabmahajan5737 - 18.02.2024 16:11

hi, i see a problem with a logout function. i tried the function and it redirects me to my index page but when i go back on the page with the reverse keys, i find myself neverloged out its just i am redirected to my home login page but i am still logedin.

Ответить
@TheLummen.
@TheLummen. - 29.02.2024 17:41

"Meeep.." 🤣

Ответить
@chadwickm.2524
@chadwickm.2524 - 12.06.2024 04:10

Great as always :)

Ответить