I have an app that makes user of filtering certain things for users with different permissions.
Django 1.1 does for some reason not seem to recognize these.
I have a group called corporate
and permissions
are granted as needed.
now in my template I am render the following.
{% if perms.corporate %}
...show the following
{% else %}
... show something else
{% endif %}
why is this not rendering the info I want?
perms.corporate
proxies to User.has_module_perms('corporate')
. So you need to have a module (or app) labeled corporate
. You say your current corporate is a group, so this probably won't work.