Do you need authentication for your Django project, or do you need to create a project with login, create an account, and display different pages to guest and logged-in users?
Today we will start a Django 4.0 project from scratch for a recipes website and we will set up authentication using Django forms, crispy forms, and SQLite.
Chapters:
0:00 Intro
0:32 Project creation
1:52 App creation
2:27 Initial URLs configuration
3:24 First view (Home page)
8:34 App URLs configuration
11:36 Adding bootstrap and bootstrap nav
15:03 User Register page
19:26 Apply migrations
20:09 Add Django Crispy forms
21:59 User Register logic
26:45 Login page and logic
31:50 Log out
35:22 Different pages to logged in and not logged in users
#Django #DjangoAuthentication #CrispyForms #Tutorial #LifeByTheCode #SergioInzunza