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!
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?
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
@@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
@@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.
@@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?
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