Tuesday, September 22, 2020

LOCK AND UNLOCK PAGES TO SPECIFIC USERS

How can one lock a page "unless" the user clicks on a button on a previous page? So, for instance, the user will not be able to type in that url and get to the page unless they have clicked the button on the previous page at some point in time. 

Also, how can you lock someone out of a page unless they have a passcode? So, for instance, you type in an input and it has to be a specific word. Once that word is typed in then you can unlimited access to the page. 

Finally, would there be a way to do this by adding someone to a Django administration group upon the user clicking a button? 

Thanks everyone, I hope someone knows how to resolve this. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0a723d1a-dc3a-442a-99fd-560d6baa87ben%40googlegroups.com.

No comments:

Post a Comment