У нас вы можете посмотреть бесплатно How To Determine The Correct User To Edit Posts - Django Blog #16 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video I'll show you how to determine the correct user when editing blog posts. Right now, anyone who is logged in can edit or delete a blog post. That's no good! We only want the person who created a post to be able to edit or delete it. So we need to figure out two things: who the current logged in user is who the author of the post is Once we know those two things, we can compare the two to determine if the current logged in user is the same as the author. If so, they can edit or delete the post. If not, they can't. #django #pythonDjango #DjangoBlog