Django Blog (Part 16) Model Managers - Django Blog (ตอนที่ 16) ผู้จัดการนางแบบ
Автор: SpotSkillz
Загружено: 2021-02-28
Просмотров: 12
Описание:
A lot of work has been put into making sure we can approve or reject the comments others make on our page but they are still being shown on our page. How do we get rid of them or better yet how do we create an efficient way to deliver only the approved comments to our page without the user knowing the difference? Today we introduce Model Managers. A great way to create our own custom re-usable methods to use in other parts of our projects if we want to. 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.
มีการทำงานหลายอย่างเพื่อให้แน่ใจว่าเราสามารถอนุมัติหรือปฏิเสธความคิดเห็นที่ผู้อื่นแสดงบนเพจของเราได้ แต่ยังคงแสดงอยู่บนเพจของเรา เราจะกำจัดพวกเขาได้อย่างไรหรือดีกว่า แต่เราจะสร้างวิธีที่มีประสิทธิภาพในการส่งเฉพาะความคิดเห็นที่ได้รับอนุมัติไปยังหน้าของเราได้อย่างไรโดยที่ผู้ใช้ไม่ทราบความแตกต่าง วันนี้เรามาแนะนำ Model Managers วิธีที่ยอดเยี่ยมในการสร้างวิธีการใช้ซ้ำที่กำหนดเองของเราเองเพื่อใช้ในส่วนอื่น ๆ ของโครงการของเราหากเราต้องการ หากคุณมีคำถามหรือความคิดเห็นเกี่ยวกับการปรับปรุงหลักสูตรของเราโปรดแสดงความคิดเห็นและข้อเสนอแนะของคุณไว้ด้านล่าง เราหวังว่าจะได้ยินจากคุณ.
Github: https://github.com/linusidom/coding101
Facebook: / spotskillz
SpotSkillz: https://spotskillz.herokuapp.com/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: