On Sat, Nov 29, 2008 at 12:02 PM, niklasr <[EMAIL PROTECTED]> wrote:

> Can there be a template tag recognizing admins e.g.
> {% ifadmin %}{{info}}{% endifadmin %}
> Similar to the APIs ( if users.is_current_user_admin() ) but from
> template.

You can make your own for that, or just pass in the value of
users.is_current_user_admin when rendering the template.


Dave.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to