I am new to Django and I have this idea that when I user enters a room a modal popup ask them for a password of that specific room(as there will be other rooms) before they can get inside and see it's contents and the password is created by the admin in the admin site. Now my problem is I've created a password field on my room model, and I've also created a form for it, but I am having a hard time on how to incorporate it in my views.. I have no idea on how to GET the password that admin created and match it with what the user POST as the password. Could someone help me out please? I've been trying for hours and still no luck of making it work..
here is the image of the "room"
My room model
my form
my views