Only Delete Correct User - Flask Fridays #40

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 10

  • @Codemycom
    @Codemycom  2 роки тому +1

    ▶️ Watch Entire Flask Friday Playlist ✅ Subscribe To My UA-cam Channel:
    bit.ly/3ig2eJn bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶️ Get The Code
    bit.ly/2L1jBl5

  • @thewhiteninjamc
    @thewhiteninjamc Рік тому

    I feel it's worth noting the deleted user is still logged in. To enhance security, would it be a good idea to call the logout_user() method immediately after deletion, and redirect to the login/signup page? Personally, I think so.
    Similarly, some of this functionality could be considered okay with the Admin account, as they may be permitted deletion of other users, but it should be impossible to delete themselves.
    You can see "Logout" at 4:24

  • @skyline-wd3gr
    @skyline-wd3gr 2 роки тому

    I'm getting pyimage2 not supported... I'm getting this error... What must I do

    • @Codemycom
      @Codemycom  2 роки тому

      We don't use pyimage2 in this video...

  • @skyline-wd3gr
    @skyline-wd3gr 2 роки тому

    how to add multiple functions to a button using command word

    • @Codemycom
      @Codemycom  2 роки тому

      Sorry not sure what you mean.

    • @AzamatK-m9p
      @AzamatK-m9p 2 роки тому

      call function inside another function, simple

    • @skyline-wd3gr
      @skyline-wd3gr 2 роки тому

      @@AzamatK-m9p thanks brother... I will try

  • @some_dude1
    @some_dude1 2 роки тому

    Hey John! After i am able to deploy my app at the heroku, i am getting this
    *sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres*
    while i am trying to log in or clicking on the Register or Post pages. Why is that?
    Thanks.