49 - Basic Data Connection with Foreign Keys - Python & Django 3.2 Tutorial Series

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 6

  • @boogie011979
    @boogie011979 2 ปีที่แล้ว

    I can see the field in the admin webpage, add Articles. There is a drop down of all the user names.

  • @eagleofsharm
    @eagleofsharm 2 ปีที่แล้ว

    CFE == High Quality

  • @SoulScribbler
    @SoulScribbler 2 ปีที่แล้ว +2

    How secure is this method of blocking content for only the logged in user? What I mean is are there ways for people to manipulate the inspector in the browser to disable that or does django do a pretty good job of "hiding" that content for everyone except the user?

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  2 ปีที่แล้ว +2

      The browser cannot touch the queryset that Django produces.

    • @SoulScribbler
      @SoulScribbler 2 ปีที่แล้ว +1

      @@CodingEntrepreneurs That's what I figured, but just wanted to be sure. Thanks again!

  • @shonnoronha
    @shonnoronha 2 ปีที่แล้ว

    Hey , How can we set an logged in user to an article when he creates an article ?
    (Using django forms)