django - url authentication with pinax -


in pinax-project-account when page rendered can, tag {% if not user.is_authenticated %}, control context rendered.

my question is, how possible control page appears? user tries hard code url on address bar , user not supposed see url. hint on start?

thank !

what you're looking django.contrib.auth, , specially login_required, permission_required , user_passes_test decorators.


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -