On Jul 13, 2006, at 4:36 PM, SmileyChris wrote: > On a side note, in templates I don't think you can actually do {% if > user.has_perm('myperm') %} anyway.
You actually can (if you're using RequestContext):: {% if perms.auth.can_add_user %} ... {% endif %} Jacob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---