Login page for Python Website using Streamlit

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 21

  • @beginnerscodezone
    @beginnerscodezone  Год назад

    Source Code with additional things (Authentication + Session State): github.com/Ashwani132003/pondering/blob/main/test.py

  • @sandipmaurya7371
    @sandipmaurya7371 10 дней назад

    Great Series.
    Thank you for providing the detailed video.
    Subscribed your channel

  • @beginnerscodezone
    @beginnerscodezone  Год назад +1

    Sorry for some audio glitches in the video, Next part for authentication will be uploaded soon.

  • @dzenitvildic6269
    @dzenitvildic6269 5 месяцев назад

    Hello, in this code, the user should only read the post I wrote on the home.py page. It turns out that in the code you wrote, a different user can delete text from another user and write it again. What should I do to fix this?

    • @beginnerscodezone
      @beginnerscodezone  5 месяцев назад +1

      Hi, on website only the one logged in user should be able to delete and write posts from that specific account, for authenticating the users you should use: github.com/Ashwani132003/pondering/blob/main/account.py
      Make sure to pass your webapi key from your firebase account (Next video is for auth.).
      And if you mean that from code anyone can change posts, then yes, as the app is totally public incl. keys, for teaching purpose, one can change,
      you can either make your repo private or keep your keys secret (i have a video on that),
      I hope your doubt is resolved, if still not, feel free to ask again, thanks

    • @dzenitvildic6269
      @dzenitvildic6269 5 месяцев назад

      @@beginnerscodezone No, I mean here that one user can share a post. Then the second user can edit what the first user shared even if the second user did not write that post

    • @beginnerscodezone
      @beginnerscodezone  5 месяцев назад +1

      @@dzenitvildic6269 Aah, this is not actually updating the post, its just visible like that to the user once you rereun the website it would come same as before, if you want i think there is some disable parameter in text-input of streamlit, you can just use that in code where you are doing this or keep it as it is, as it won't update.

    • @dzenitvildic6269
      @dzenitvildic6269 5 месяцев назад

      @@beginnerscodezone Yes, I searched streamlit, I just "disabled=True" command, but this time the text is not so visible. Do you know of a better solution?

    • @beginnerscodezone
      @beginnerscodezone  5 месяцев назад

      @@dzenitvildic6269 lemme try it

  • @beginnerscodezone
    @beginnerscodezone  Год назад

    Ask your doubts here, if any.

  • @syaifak
    @syaifak 7 месяцев назад

    do this streamlit using mysql? for the database

    • @beginnerscodezone
      @beginnerscodezone  7 месяцев назад +1

      I have uploaded a video for using MySQL Database with Streamlit, and if you want to add login page to that then, yes you can do it this way.
      I hope this clears your doubt, if not feel free to ask again, Thanks!

  • @finamusrofina3426
    @finamusrofina3426 Год назад

    thanks sr

  • @akashjoju8606
    @akashjoju8606 3 месяца назад

    Is it will be responsive

    • @beginnerscodezone
      @beginnerscodezone  3 месяца назад

      Yes, Streamlit handles most of the responsiveness itself, you can check the full website here: pondering.onrender.com/

  • @vijaynavuluri
    @vijaynavuluri 9 месяцев назад

    Help me it's not working 😢

    • @beginnerscodezone
      @beginnerscodezone  9 месяцев назад +1

      Hey what's the exact problem could you please elaborate, would be great if you can ask in our discord channel (mentioned in channel description). Thanks