Login With User Authentication - Django Wednesdays #21

preview_player
Показать описание
In this video we'll start to build out the user authentication system by creating a login page.

Django comes with a pretty nice user authentication system that we'll tap into and use for all of this.

First we'll create a new 'members' app to hold all of our authentication stuff. Then we'll create a login page that allows users to log in.

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
2:27 - Create New Members App
3:37 - Add URLS.py file to Members App
4:40 - Add New URL Paths to Old URLS.py file
6:14 - Add Templates Directory To Members App
8:06 - Add Login_user View
9:14 - Add Login Link To Navbar
9:40 - Add Login URL Path
12:13 - Check Django Authentication Docs
13:00 - Add Login Code to View
18:44 - Add Bootstrap Style To Messages
19:20 - Test Everything
20:00 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

Very good series this is FAR better quality than what is offered from my CS course! FYI for anyone like me using current Django version in 2022 (around 3.5 I think), the view for login will only work when the templates subfolder is called 'registration', not 'authenticate' or anything else. Too much of a beginner to know why this is, or even if it's just a mistake on my part. That's what i'm here for! Thanks again!

toast_on_toast
Автор

I mean really, now I feel like I'm learning Python fun with Walter White. Surely you look like him. I love the channel 😍

dsyoutube
Автор

Thank you so much, your tutorials are helping me to teach my students better on YT. 🙏🙏

CodeWithClinton
Автор

Thanks John! Feel very lucky to have found your videos!!

teekumar
Автор

Big love, not just like .. awesome work, hats off mate!!

peterm
Автор

You are an amazing teacher and probably a dev! Thanks.

__bracer__
Автор

Thanks John, very clear and compact explanation 👏 I don't even even get this material on paid course, meh

hndr
Автор

Is it okay to put admin and users (people who use the website) together in Users table/models? thanks for the video!

yunasan
Автор

I think I will adopt you... You are my savior

yamilaq
Автор

Great tutorial! If you want to restrict access to friends, how can you require users to be approved by admin before they can have access?

yasayah
Автор

Thank you John for the videos. Highly informative. Could you please post video/articles on how to create time slots selection in django forms?

rubanlesliej
Автор

I send you a email about multi users website and so funny you said you can't help me with this that project but you did answering me here in thiq video hhhh man you're awesome i thought you did this video for me thanks anyway

labialkosta
Автор

I just wanted this video and you provided it. thanks

mohammadg
Автор

great, english tutorials are the best

nicolasalegria
Автор

Thank you soo mucch, this was soo helpful you saved my time ❤

imanerahmaoui
Автор

Thanks, but I have an issue in 17:21. My terminal says "Not found /members/POST"

sicness
Автор

Hi, i am following your tutorial regularly...Its amazing. Do you have any tutorial on " django app hosting using IIS" or can you please make one to put dhango project in production...

rokibulhaque
Автор

i am using firestore database
this method is suitable it?

funnytech
Автор

Hello, I am working through all your tutorials and everything was going great until I got to this video and my Login_user errors with "AttributeError at /members/login_user
'tuple' object has no attribute '_meta'". I have gone through and double check to make sure I did not misspell or forget something but I can not find it??? I am using Django 4.1.3 version on an apple computer? Any suggestion would be greatly appreciated! I so thoroughly have been enjoying your tutorials.

On a different note: Where can I find a video tutorial that covers how to change the "home" page calendar from what Wednesday #2 created to having it in conjunction with all of the events and venues date; have each date link to the event and/or venue????

danatheriot