RE: admin_perm_test decorator?

2009-01-28 Thread Ian Cullinan
users Subject: Re: admin_perm_test decorator? On Jan 28, 7:49 pm, Ian Cullinan wrote: > The docs > athttp://docs.djangoproject.com/en/dev/ref/contrib/admin/#protecting-cu...say > to use the "decorator provided in django.contrib.admin.utils.admin_perm_test" > to protect cust

Re: admin_perm_test decorator?

2009-01-28 Thread alex.gay...@gmail.com
On Jan 28, 7:49 pm, Ian Cullinan wrote: > The docs > athttp://docs.djangoproject.com/en/dev/ref/contrib/admin/#protecting-cu...say > to use the "decorator provided in django.contrib.admin.utils.admin_perm_test" > to protect custom AdminSite and ModelAdmin views, but it doesn't exist (in > 1.0

admin_perm_test decorator?

2009-01-28 Thread Ian Cullinan
The docs at http://docs.djangoproject.com/en/dev/ref/contrib/admin/#protecting-custom-adminsite-and-modeladmin say to use the "decorator provided in django.contrib.admin.utils.admin_perm_test" to protect custom AdminSite and ModelAdmin views, but it doesn't exist (in 1.0, at least): $ pwd /us