Re: contrib.sites readonly question

2020-01-12 Thread Mike Dewhirst
e.For example refusing all "sites" permissions makes no difference.Any ideas?Mike Original message From: Daksh agnihotri Date: 12/1/20 15:39 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: contrib.sites readonly question In admin.py Class UserProfileAdmin(a

Re: contrib.sites readonly question

2020-01-11 Thread Daksh agnihotri
In admin.py Class UserProfileAdmin(admin.ModelAdmin): List_display = () Readonly_fields =() ... ... .. Field in readonly_field... will have read permissions only.. I have used it. On Sun, Jan 12, 2020, 8:47 AM Mike Dewhirst wrote: > I use contrib.sites I think successfully to differentiate be

contrib.sites readonly question

2020-01-11 Thread Mike Dewhirst
I use contrib.sites I think successfully to differentiate between dev, staging and production for purposes of adjusting URLs as intended for linked resources. However, I cannot find a way to make contrib.sites data readonly in the Admin How can I make it readonly in the Admin? I've tried ch