9:36 To avoid copying files back to main gfg folder. Give django-admin startproject gfg . (after project name give a space and dot(.)). it will create only one folder with all files.
Anubhav Madhav, you are the man! This is the best Django Authentication tutorial I've come across anywhere. The only one that has worked for me. I can't thank you enough ma man. Blessings!
Excellent explanation brother, well understood, and i successfully completed my first project as a beginner with your help My sincere thanks to, GeeksforGeeks and Anubhav brother for nice explanation..
@@AnubhavMadhav google no longer allows less secure apps settings to turn on 46:00 . i was following the video and doing this project. can i still go throw with this video or is there a workaround?
It's really helpful thanks for making this video. While running your code I did such improvements, Please check. -> In email_confirmation.html there is a type error in your tutorial i.e you typed "uid64" instead of "uidb64" -> And "force_text" is not working for me therefore i used "force_str" And thanks again for this wonderful and helpful tutorial.
am getting Reverse for 'activate' with keyword arguments '{'uidb64': '', 'token': ''}' not found. 1 pattern(s) tried: ['activate/(?P[^/]+)/(?P[^/]+)\\Z'] using Django v4
Excellent tutoroial but i see you forgot to mention a step which prevented the HTML text from appearing after you put in the templates folder under authentication. You have to go into the settings under 'dirs' [] and add 'templates'
very excellent video but one addition to this video is that , template inheritance may be applied for better html handling thought here frontend is not main to teach!!
@@AnubhavMadhav Hello Mr Anubhav, Thank you very much for such an amazing tutorial. Please I have a question in the sign view function. How did you call the "user.first_name" in the function when we didn't clearly get the details in the form from the user?
Sir please mention the extensions you have used in VS Code for this video. I am not getting some code suggestions for import statements in django in quick fix
00:00 Learn how to create a login system using Django with email confirmation feature. 07:24 Create a virtual environment to install Django and set up a basic signup and login functionality. 15:34 Creating HTML templates and form for authentication app 24:49 Create a user registration form with Django 33:13 Creating Sign in functionality 42:38 Implement confirmation email functionality for the app 51:02 User registration and email confirmation 00:00 Creating confirmation email logic for user activation 1:09:10 Activate user account via confirmation email 1:17:19 Learn how to create a super user in Django admin panel
Just enable 2 factor authentication in your Google account and after enabling you will get an option of creating app. Now create a app with any name you like and after that you will get 16 characters password just copy it and paste it in the code(WITHOUT SPACE).
@@explorewithlainey3935 inside 2 step verification section you will see "App passwords" option just down below of the page. Just click and make a new app with your preferred name. After this you will get password that's it.
Now, that I have the idea of how to build up a login, I want to add in CSS to it and make it a full website. I really don't care for the email part to be working at the moment, as I need to learn more about the libraries and the code for it is a bit confusing. Thanks a ton.
@@matchpredictionwithacid9419 Check your mail settings again, make sure that you are using your own account and also "turn on access to less secure apps" of that account.
@@rajibmukherjee3722 I just checked, now it's not available for accounts with 2 Step Verification, in order to use less secure apps with even 2FA accounts, you'll require an application specific password. Search for it and you'll get more details. I hope this helps.
Good job but sadly outdated to work today Because Google stopped supporting "Less Secure Apps" feature which prevent me from making my app send Confirmation email.
Also you created directly templates folder in the root directory. What is the best practice in terms of reusable apps? Creating the static and templates inside the app directory or using your method?
@@AnubhavMadhav Hello Mr Anubhav, Please, how did you call the "user.first_name" in the signin view when there isn't a first_name object from the signin form.. It worked in the signup form cus we had a fname defined in the form but it's not working in the signin function.
After the signup page i am getting redirected to the same page rather than going to the signin page, even after using "return redirect('home')" and every other things things are same as he did..Any solutions please??
I'm getting an error. Attributerror: 'function' object has no attribute 'filter' While registering a new user after implementation of email functionality
i am getting an error on this line - return render(request, "authentication/signin.html") error - unindent amount does not match previous indent , return can only be used within a function Please Reply
For more such Projects check out our Playlist: th-cam.com/play/PLqM7alHXFySExPLJSzpKfKe6JO44Qm0qj.html&si=Tpg_3fu2oZI19FA7
13:11 Very well explained
23:57 35:51 Must
45:51 Gmail verification
Thank you ✨
Thanks a lot ❤
Just for info, force_text has been depreciated in django 4, instead use force_str
Yes, thanks!
what about this one SMTPAuthenticationError at /signup
so where all do we have to make the changes?
9:36
To avoid copying files back to main gfg folder.
Give django-admin startproject gfg . (after project name give a space and dot(.)). it will create only one folder with all files.
Yes💯
That I always use😁
i keep getting this error when i try to run ''ModuleNotFoundError: No module named 'gfg.settings''
can anyone help me with resolving this error?
Dude's a pro at entering his details
Dude your "left-click + alt" key shortcut is a game changer (and I thought the video itself was already great -- this is the cherry on top!)
You're welcome ✨
Thank you so much sir 😭💖💖
Finally someone made a python tutorial, I've been looking for it for a long time, thanks brother
Perfect voice perfect step by step explanation no mixing clear idea Thank you so much sir👍
@@AnubhavMadhav
Hello bro!!
Less secure apps is no longer working, Is there any alternative?
Anubhav Madhav, you are the man! This is the best Django Authentication tutorial I've come across anywhere. The only one that has worked for me. I can't thank you enough ma man. Blessings!
Thanks man, and you're welcome!
Bro it showing cannot import name ' force_text' from 'Django.utils.encoding'😢
Amazing job...I need you to know what you already know, "People like you are simply Blessing to humanity"
Gonna be watching again. THANK YOU!!
Thank you so much ❤️ It means a lot ✨
great tutorial.
Everything is well explained.
My sincere thank you to gfg and Anubhav Madhav.
Excellent explanation brother,
well understood,
and i successfully completed my first project as a beginner with your help
My sincere thanks to,
GeeksforGeeks
and Anubhav brother
for nice explanation..
Thank you so much bro! Happy to help 💖
Please let's link up via email. So you can put me through. I'm facing some challenges on my sign up page
I got an error at signup page,could you send reply to my msg
Simple and Concise , props gfg !
Impressive and commendable. Thank you.
best lecture for the django login with database and gmail confimation thankyou
Thank you Mukesh! ✨
@@AnubhavMadhav google no longer allows less secure apps settings to turn on 46:00 . i was following the video and doing this project. can i still go throw with this video or is there a workaround?
Django is getting more and more famous damn fast.
Wow! This was very helpful, thank you for this video ❤️
Very excellent tutorial. This is extremely thorough.
Thank you Michael!
Boss you made my night many people couldnt explain well what i need now is password change
It's really helpful thanks for making this video.
While running your code I did such improvements, Please check.
-> In email_confirmation.html there is a type error in your tutorial i.e you typed "uid64" instead of "uidb64"
-> And "force_text" is not working for me therefore i used "force_str"
And thanks again for this wonderful and helpful tutorial.
i keep getting this error ModuleNotFoundError: No module named 'gfg.settings'
can anyone help me with resolving this error?
@@oviemennu169 you should put your project-name.settings not gfg.settings . gfg is his project's name
am getting Reverse for 'activate' with keyword arguments '{'uidb64': '', 'token': ''}' not found. 1 pattern(s) tried: ['activate/(?P[^/]+)/(?P[^/]+)\\Z'] using Django v4
I am gettiing the same error. Kindly share if you have solution to this @@zend969
how did you solve it please ? i'm getting the same error
@@zend969
Excellent tutoroial but i see you forgot to mention a step which prevented the HTML text from appearing after you put in the templates folder under authentication. You have to go into the settings under 'dirs' [] and add 'templates'
Thank you so much ✨
Well I mentioned that at 18:37 , you might have missed it no problem😊👍
@@AnubhavMadhav Hello, I tried this and it's still not removing the django page. What might be the problem. Am I overlooking something? Please help
very excellent video but one addition to this video is that , template inheritance may be applied for better html handling thought here frontend is not main to teach!!
thanks much, this saved my day
Thank you for the great video by the way.
Yo, I love the way you explained everything 🎉☄️. This video really helped me 💪
Thank you bro, glad to help!✨
@@AnubhavMadhav
Hello Mr Anubhav,
Thank you very much for such an amazing tutorial.
Please I have a question in the sign view function. How did you call the "user.first_name" in the function when we didn't clearly get the details in the form from the user?
this is soooo good
Tq so much sir..
Thank you my friend, works very fine
59:28
45:30
18:31
timestamp to continue
58:00 Implementation of Token
1:02:00 implementation of mail link
Well explained! Thank you so much !
Video is so amazing, however it's old. I mean turning ON the less secure apps is getting problem.
Very helpful video. Thanks
Sir please mention the extensions you have used in VS Code for this video. I am not getting some code suggestions for import statements in django in quick fix
Apply For Video Internship Program - script.geeksforgeeks.org/on-boarding/youtube
i hv query
I have a problem?, when we are adding app name it’s showing no such file or directory, can u help me with this problem
@@madathalanithinreddy4594 iam facing same problem can antibody tell me please it's urgent
hello
ive tried many times but am not getting any confirmation mail.
please help me out.
bhai hindi ma ya urdu ma bnaya kar
videos
Thanks alot Man IM enjoying watching this Great work to Geeks For Geeks
Thank you and welcome!
Thank you sir
00:00 Learn how to create a login system using Django with email confirmation feature.
07:24 Create a virtual environment to install Django and set up a basic signup and login functionality.
15:34 Creating HTML templates and form for authentication app
24:49 Create a user registration form with Django
33:13 Creating Sign in functionality
42:38 Implement confirmation email functionality for the app
51:02 User registration and email confirmation
00:00 Creating confirmation email logic for user activation
1:09:10 Activate user account via confirmation email
1:17:19 Learn how to create a super user in Django admin panel
interesting video GeeksforGeeks. I shattered the thumbs up on your video. Maintain up the fantastic work.
Thank you.
is your email verification working
@@parthjain3757 no 😔
done this. worked successfully. Thankyou.
Glad to know! You're welcome.
I got an error at signup page,pls reply to my msg
google removed less secure apps function, now how to do the email verification?
Sir u found any way
Just enable 2 factor authentication in your Google account and after enabling you will get an option of creating app. Now create a app with any name you like and after that you will get 16 characters password just copy it and paste it in the code(WITHOUT SPACE).
@@lalitagarwal9155hey,I don't see the 'create app' nor the code you are referring to, after enabling the 2-step verification
@@explorewithlainey3935 inside 2 step verification section you will see "App passwords" option just down below of the page.
Just click and make a new app with your preferred name. After this you will get password that's it.
@@explorewithlainey3935 it worked or not please specify so that I can help further..
Great video, really great efforts
single login... 9 thousand files on the project...
Perfect tutorial, thanks, but Django likes to reinvent the wheel in every app...
Now, that I have the idea of how to build up a login, I want to add in CSS to it and make it a full website. I really don't care for the email part to be working at the moment, as I need to learn more about the libraries and the code for it is a bit confusing. Thanks a ton.
You're welcome and all the best✨💯
did u add css bro?
Amazing video. Waiting for more videos like this 😀
Nice tutorial. If you add FORGET PASSWORD option, that will be great
Thanks for the great explanation.👍👍👍
You're welcome and thank you ✨
nice i am learining the ecomerce project in may24 for gaining knowledge and for developing website
Awesome! Thanks a lot 🔥
Amazing Video and easy to understand!
Gmail has removed less secure app access... What to do to complete this task?
thank you, this was very helpful
You're welcome!
Please try to do more Django projects..
Thanks!
🤘
Dhanyawad apka 🙏
Good video, very helpful and hardly out-of-date
Thank you!✨
@@AnubhavMadhav code is not running properly giving smtp error
@@matchpredictionwithacid9419 Check your mail settings again, make sure that you are using your own account and also "turn on access to less secure apps" of that account.
@@AnubhavMadhav Does Google has this option any more?
@@rajibmukherjee3722 I just checked, now it's not available for accounts with 2 Step Verification, in order to use less secure apps with even 2FA accounts, you'll require an application specific password. Search for it and you'll get more details. I hope this helps.
Very helpful!
Amazing video bro
Good job but sadly outdated to work today
Because Google stopped supporting "Less Secure Apps" feature which prevent me from making my app send Confirmation email.
Excellent
Great content!
Keep up the good work. 💯
Thank you so much Akanksha!😊✨
This is great. you really did a nice work
Thank you so much!
Amazing 🤩
Nice Sir, thank you
You're welcome!
@GeeksforGeeks Please upload a video on Django Rest API Creation (DRF).
thanks bro finally did it
very helpful.thanks
You're welcome!
Everything is cool but Bhaiya I need my money for using my name in your video😁😁😏😂
Haha!! Yeah sure 😂
instead of taking last name if I want to take age,city as the input how can I store it into same table
Should have added the timeline into the video, it is really confusing to get to the particular part of the video without it
exactly!
Great video, but the "Less secure apps" option no longer exists since May 30th 😓
did u find any alternate way!! m facing the same issue.
@@equalizer1384 same here dude, did u find any way
Same here, any alternative way
Also you created directly templates folder in the root directory. What is the best practice in terms of reusable apps? Creating the static and templates inside the app directory or using your method?
For reusability, you ccan go for both ways, but having it in root folder will make your work easier.
@@AnubhavMadhav Hello Mr Anubhav,
Please, how did you call the "user.first_name" in the signin view when there isn't a first_name object from the signin form.. It worked in the signup form cus we had a fname defined in the form but it's not working in the signin function.
Helpful
Great
Hey Uday, thank you ✨
I am not getting any email after signing up.
I did all the steps as shown by you.
Can you help me...
while running server at 13:11 it gets module error : no module name gfg.settings
plzz reply
greatttt
Please give me insight as to how i should integrate it with my Machine Learning Model?
20:01 CMS- welcome page
those who getting error at "force_text" convert it to "force_str" You will be done....
Yes, thanks!💯
Hey I am not able to set less secure apps with G-Account.Cud you expalind how to do it?It shows policy has changed.
did you found any solution brother?
After the signup page i am getting redirected to the same page rather than going to the signin page, even after using "return redirect('home')" and every other things things are same as he did..Any solutions please??
Hi, my html files are not saved as django files as shown in the video & this doesn't allow me to include the csrf_token. How do i fix this?
was the issue solved
perfect
at 18:20 I am getting an error 'TemplateDoesNotExist at /authentication/index.html'
Can someone please help me with this?
Try removing the first '/'
I am also getting this error.
Check if the templates folder is directly inside "authentication" and not inside the "gfg", "migrations", "__pycache__" or "venv" folders.
very helpful video
I'm getting an error.
Attributerror: 'function' object has no attribute 'filter'
While registering a new user after implementation of email functionality
Yeah bro, you should try importing the auth models as mentioned in the video.
Shikwekwe will always break my ribs😂
This is my question not.
I already made a web where the client can input data.
so, is it not part of front end?
i got integrity error /signup bro . what can I do for this .please rply bro.
would you be making a video tutorial using JWT cookies and incorporating with mongoDB?
Sir the email is not being sent for verification when i signup
thank you, that's all i need
You're welcome!
thanks
The problem is that Google stopped services for less secure apps so I am unable to generate the email and send
Whenever I refresh my page after signing in, it shows csrf error. Bit I have already added that csrf code in my html. Please tell me what to do? 45:32
could you add mySQL as database for this?
i am getting an error on this line - return render(request, "authentication/signin.html")
error - unindent amount does not match previous indent , return can only be used within a function
Please Reply
Indentation error hogi bro
can anyone tell how to setup djang admin page where we can see update of all the users?