Re: how to hide a field in admin

2009-03-03 Thread Alessandro
On Tue, Mar 3, 2009 at 9:56 AM, Hameedullah Khan wrote: > Use the fields options in your Model's Admin class. I've managed with class AuthorAdmin(admin.ModelAdmin): exclude = ('birth_date',) Thanks !! -- Alessandro Ronchi Skype: aronchi http://www.alessandroronchi.net SOASI Soc.Coop. -

Re: how to hide a field in admin

2009-03-03 Thread Hameedullah Khan
On Mar 3, 1:40 pm, Alessandro Ronchi wrote: > I have a field I want to be show on web pages form for a model but not > in the admin section. Is it possible? > > If I use editable = False it will be hidden for both. > Use the fields options in your Model's Admin class. -- Hameedullah Khan --~-

how to hide a field in admin

2009-03-03 Thread Alessandro Ronchi
I have a field I want to be show on web pages form for a model but not in the admin section. Is it possible? If I use editable = False it will be hidden for both. -- Alessandro Ronchi Skype: aronchi http://www.alessandroronchi.net SOASI Soc.Coop. - www.soasi.com Sviluppo Software e Sistemi Ope