Django Starter with Allauth and Htmx

preview_player
Показать описание
In this tutorial we build a Django Starter project as a foundation for future tutorials, using the Allauth package for User authentication and Htmx to update the User email address.

0:00 Demo
3:20 Django Setup
5:40 Homepage
11:05 Profile Pages
21:50 Allauth and Sign Up
30:25 Settings Page with Htmx
40:48 404 Page

Support me on:
Thank you.

Follow me on:

#django #htmx #deployment #allauth #python #pythonprogramming #selftaughtdeveloper #webdevelopment #webapp #stayathomedad
Рекомендации по теме
Комментарии
Автор

As always, I enjoy your great videos. Thanks for the great effort you always put into your work

christophermaile
Автор

Thank for this. Keep making htmx and django

DisabledCookie
Автор

Thanks Andreas, , Amazing Tutorial, , Take love

maharafhossen
Автор

Super great content mate. Thanks, and respect! :)

Sof_Hill
Автор

One of the best tutorial i've ever seen on YT. You have a gift to teach man👌.
1. But why in Django in models (11:53) we use class variable without `self`?
2. 11:55 Why You use `{% if request.user.is_authenticated %}` and in another tutorial You use {% if user.is_authenticated %}`. What's the difference?

krzysiekkrzysiek
Автор

Okay will try this tomorrow because it suck azz to deal with styling for django allauth (i have skill issue reading the doc maybe idk), and here you make things easy af

rexsybimatrimawahyu
Автор

darn you shorts for converting me... and all hail the algorithm for putting this in front of me. I was looking for a simple oauth integration with django!

la
Автор

Minor suggestions:

1) Get rid of try except in profile avatar property. I changed it to this:

@property
def avatar(self):
if self.image:
return self.image.url
return static("images/avatar.svg")

2) Add hyphenation to frontend for profile info. If you type a very long word it is not split into several lines.

twiceasviewtiful
Автор

Thank you so much for this. It helped me a lot with my project

mzwakhe_louw
Автор

Great tutorial. Inconsistent use of terms "log out" and "sign out" (easily fixed).

ItsEverythingElse
Автор

Also noticed that there is a little inconsistency with User model/admin.py. When we login/signup email field is required but it is optional if you create object yourself or through django admin (it's not even present in the Add form).

twiceasviewtiful
Автор

This is really great. Thanks for sharing.

AmoahDevLabs
Автор

awesome tutorial sir. Can you do a video on how to deploy in aws? 🤕[ django, tailwind, postgresql, ci/cd ] . There is no good video available online on the topic .Topic could be "How to deploy django website with CI/CD in aws". Please sir make a video. You have an incredible ability to simplify complex topics. 🧡🧡🧡

sahir
Автор

your videos are awesome you make any django-backend developer to a frontend developer :)

SpeedCodes-oced
Автор

I like before I watch, I am sure this will be great.

amine
Автор

Thank you for the template, very helpful

kisamehoshigaki-up
Автор

Wonderful new video, thank you for the video.

Андр-чо
Автор

will you make a video on django social login with google and facebook

adarsh
Автор

by the way, i see that you use alpineJS and hyperscript as well, my question is which of them both would you prefer and why?

SpeedCodes-oced
Автор

Thank You. That was great great great ♥.

Sir, Do you plan to teach multiple user types example: [teacher, admin, student, parent] ?

Best Wishes and Good Luck

IqbalArain-iodu