Learn Django 3 - Build a User Authentication System - Building a Simple Blog Series Part 8

preview_player
Показать описание
In this Django tutorial we develop a user authentication system for our blog application. We work through the 8 default Django authentication URLs and build upon them developing custom forms and new features.

Guide on how to download and install from GitHub
=================================================

Default admin username: admin or test
Default admin password: admin or test
=================================================

00:00 Introduction
02:15 Preview of application
03:58 Activating Django Authentication
07:58 Django Authentication Template Folder
10:55 Templates for the project
19:15 Create a new account app dedicated to user account features
21:55 Building a custom login page / form
34:35 Building the Profile page / Dashboard page
40:58 Developing the registration system with email confirmation
1:16:38 Building the logging out feature
1:18:07 Building the forgotten password / reset feature
1:32:43 Building the User Profile Update feature
1:40:11 Building the User Password change - for logged in users
1:43:53 Building the Delete user feature

Code Repository (Part7)

Code Repository (Part8)

SUBSCRIBE to get more free tutorials, courses and code snippets!

Follow us on Facebook

Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

DUDE - AttributeError: object has no attribute 'create_token' WORST TUTORIAL EVER. ANYONE NEW WATCHING DON'T WASTE YOUR TIME

jessicaryan
Автор

Yet another excellent tutorial Zander!

proj
Автор

I really want to thank you. I haven't got any error so far, everything is working fine, but above all, I find all this information very useful for customizing authentication in django.

code-snippets
Автор

Amazing work...you’re the coolest teacher I ever had 😊

goodlearner
Автор

It's very Awesome your article very

devnextbd
Автор

One question. Can I use this approach if I built a custom user model?

Chocolanay
Автор

Great video, thank you!
I was a bit confused with two account/ paths, but you explained it well.
On that login.html, when i try to login and make a mistake in order to test the errors, i get two of them printed out on the screen. One that i typed info the page and another: "Please enter a correct username and password. Note that both fields may be case-sensitive."
Do you have an advice on how to delete or edit that error into our {% if form. errors% }?

Thanks again!

TomislavMiletic
Автор

Thank you so much for sharing your knowledge, experience, and hard work. Could you suggest a registration/login/auth tutorial that, at it's conclusion, would be production ready? Thx again mate.

yasayah
Автор

this does not work and source code is also not working ....in the source file after submitting registration form is says page not found plz help

alkfalfnsflgjslfj
Автор

Import "six" could not be resolved from source .. any one can help me ..

yaserpy
Автор

accounts/views.py has a search function(with Q) from blog/views.py in Part8 repo
Is it intentional?

afaf
Автор

hi sir, nice explanation with smooth voice easy to understand- sir i can't update user details (profile)

venkatvenkatmanik
Автор

In template C:\Users\camo7002\Desktop\new-blog\venv\lib\site-packages\django\contrib\admin\templates\registration\password_reset_email.html, error at line 6

Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name.

Do you know why it reverse_lazy me to django/contrib/admin/template ? @very Academy

Tech_Sprint
Автор

Well, it seems there is a problem with the code, it is curious, I'm using the repository for Part 8, and after installing requirements, when registering, the verification link send me to Page not found, it doesn't recognize the route. Anyway, so far I got an idea of how to implement it, thanks again!!

code-snippets
Автор

i have a question : its been a month now since i started learning django, i did some projects and i have a general understanding of how everything works .. im planning on doing my graduation project with djnago, i have 20 days before i start working on it, what is the next step now to do, should i continue doing project what do you recommend me doing now ? btw love your channel it helped me alot in the past month

potatoesama
Автор

Great content! Do you have plans of making a "Learn Django Rest Framework (DRF)"?

valentim-aires
Автор

I am laughing so hard at the "still doesn't work" part. Always has been so relatable. 😂

Chocolanay