Re: user and perms context variables from auth context processor (in Django 1.2.3)

2011-04-30 Thread Karen Tracey
On Fri, Apr 29, 2011 at 9:22 AM, simon wrote: > > I am using Django 1.2.3. I was trying to check user permissions on a > certain model using the perms context variable from > contrib.auth.context_processors.auth. As per the documentation, I > tried this (foo is the app

user and perms context variables from auth context processor (in Django 1.2.3)

2011-04-29 Thread simon
Hello, I am using Django 1.2.3. I was trying to check user permissions on a certain model using the perms context variable from contrib.auth.context_processors.auth. As per the documentation, I tried this (foo is the app label, Bar is the model, and I'm using default permissions): {% if