Django Ecom(Part 2)Auth and Custom User - Django Ecom(ตอนที่ 2)รับรองความถูกต้องและผู้ใช้แบบกำหนดเอง
Автор: SpotSkillz
Загружено: 2021-03-17
Просмотров: 60
Описание:
Before going any further in our project, I know that I want to have a Customized User setup with some custom user fields. I also know from experience that it’s best to do anything with a User model right from the beginning and not add it later in the project. The User Model is very different in most frameworks since it ties into so many other databases. If we add this later on after doing the initial migration, it will not work and we’ll have to restart from scratch so it’s best to add it right from the beginning. Today we’ll get a basic user setup and show how to connect it properly into our project. If you have any questions or comments on how to improve our course, please leave us your thoughts opinions and feedback below. We look forward to hearing from you.
ก่อนที่จะดำเนินการต่อในโครงการของเราฉันรู้ว่าฉันต้องการตั้งค่าผู้ใช้ที่กำหนดเองด้วยฟิลด์ผู้ใช้ที่กำหนดเอง ฉันยังทราบจากประสบการณ์ว่าควรทำอะไรกับโมเดลผู้ใช้ตั้งแต่แรกเริ่มและไม่ควรเพิ่มในโครงการในภายหลัง User Model มีความแตกต่างกันมากในเฟรมเวิร์กส่วนใหญ่เนื่องจากเชื่อมโยงกับฐานข้อมูลอื่น ๆ มากมาย หากเราเพิ่มสิ่งนี้ในภายหลังหลังจากทำการย้ายข้อมูลครั้งแรกแล้วจะไม่สามารถใช้งานได้และเราจะต้องเริ่มต้นใหม่ตั้งแต่ต้นดังนั้นจึงเป็นการดีที่สุดที่จะเพิ่มตั้งแต่ต้น วันนี้เราจะได้รับการตั้งค่าพื้นฐานสำหรับผู้ใช้และแสดงวิธีเชื่อมต่ออย่างเหมาะสมกับโครงการ หากคุณมีคำถามหรือความคิดเห็นเกี่ยวกับวิธีการปรับปรุงหลักสูตรของเราโปรดแสดงความคิดเห็นและข้อเสนอแนะของคุณไว้ด้านล่าง เราหวังว่าจะได้ยินจากคุณ.
Github: https://github.com/linusidom/coding101
Facebook: / spotskillz
SpotSkillz: https://spotskillz.herokuapp.com/
YouTube: / @spotskillz
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: