Vote count:
0
I'm building a website (using python with django) in which you can access a users page and request something from them, but that functionality is only available for logged in users, whereas not logged in users can still see the page but not the form to send the requests. What would be the best practice for that:
-loading a different template when that view is requested directly on the server or -using javascript to change what is in the place where the 'request form' would be after verifying if user is logged in or not? thanks
asked 38 secs ago
Different page for logged in vs not logged in user on server vs javascript
Aucun commentaire:
Enregistrer un commentaire