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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -