Wiadomość napisana w dniu 2009-08-05, o godz. 10:18, przez StevenC:

> I have a template page which potentially shows private data people
> have submitted. How can i make this page secure so you can only see it
> once logged into the admin page?


Decorate the view with staff_login_required.

-- 
Artificial intelligence stands no chance against natural stupidity

Jarek Zgoda, R&D, Redefine
jarek.zg...@redefine.pl


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to