Python Django User Registration - Full Tutorial
ฝัง
- เผยแพร่เมื่อ 30 มิ.ย. 2024
- Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn Python Django User Registration in this full tutorial. We will add a user registration form to our Django Project, learn how to save new users, and redirect them to our posts list after a login.
💖 Support me on Patreon ➜ / davegray
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
🚀 Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
GitHub: github.com/gitdagray
X: / yesdavidgray
LinkedIn: / davidagray
Blog: www.davegray.codes/
🔗 All Resources for this Django Course: github.com/gitdagray/django-c...
🔗 TH-cam Playlist for this Django Tutorial Series: • Python Django Tutorial...
Python Django User Registration - Full Tutorial
(00:00) Intro
(00:05) Welcome
(00:27) Getting Started
(00:55) Django's User Creation Form
(03:09) Adding the form to a template
(05:09) The CSRF Token
(05:52) Checking the form in the browser
(07:48) Saving the User after form submission
(11:35) Checking form logic
(13:16) Verifying the new user was saved
(13:54) Update the Navbar
📚 Tutorial References:
🔗 Django Official Site: www.djangoproject.com/
🔗 Django Model field reference: docs.djangoproject.com/en/5.0...
🔗 Django Path Converters: docs.djangoproject.com/en/5.0...
🔗 Python Official Site: www.python.org/
🔗Visual Studio Code Official Site: code.visualstudio.com/
👀 Visual Studio Code: code.visualstudio.com/
Was this Python Django User Registration tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#django #user #registration
Awesome and simple. Thx Dave.
Helpful Dave as always
Awesome guide Dave! 🚀If anyone’s looking for more Python tutorials, we’ve released logging in Django and Django middleware to help the community too 💪
Thank Dave. Since I started following you last year a lot has been learn....
Especially the 21 hours video chapters with python you introduced on free code camp. Thanks Dave your lessons mean a lot to me....
Thanks Dave 👍👍
thanks , helps me alot
Dave. Thanks for the video. I don't yet see the lesson 9 files up on your github. I want to copy the CSS file.
Noted! Loading now
0:41 "poetry shell" is much easier command.
"pipenv shell" is even more easier 😉 😁
@@krzysiekkrzysiek9059 actually "poetry" does a lot of other things as well. And keeps all the envs inside a single folder rather than messing up with the project directly, then we need to use gitignore...
I don't find lesson 9 CODE you made. Thanks for your awesome teaching! You probably can read all my previous comments. I didn't know what I was looking for then. Now I know what I am looking for but don't find it in the list. Do you have another link to go to? Or is it just not being updated?
Thanks for the note! I thought I pushed this up to GitHub before. I double-checked and it is now there for sure.
Are rest api's possible in django, or we have to rely on DRF or django-ninja, and if we have to, then will you cover one of these in future videos ??
Good question - yes, with the Django REST Framework.
@@DaveGrayTeachesCode That's awesome, thanks
is this Django series completed Dave? Btw Thank you Dave as always
Not yet - a few more things to cover 😀
@@DaveGrayTeachesCode Keep going Dave :) .Please make RestApi Django Tutorials also .
I am already so used to your courses that I find it difficult to understand other tutors please why didn't you make a sass/scss course 😢 I am really battling to understand others
I could and have used it, but CSS is adapting some of the Sass/SCSS features. I feel like the trend is moving away from it.
The git Repository is not updated with the lesson 09 ...
Thanks for the note!
@@DaveGrayTeachesCode Still no update ... 😥 At least push for the CSS ...
Next.js can learn from including Auth but it will never happen because the Vercel CEO owns lots part of the Clerk startup!
Yes it is nice that this is built into Django. When it comes to next.js, I prefer Kinde.
❤