Re: How to exclude field from geneated ModelForm, but not from admin interface

2008-01-08 Thread Alexander Chemeris
On 1/6/08, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-01-05 at 22:43 +0300, Alexander Chemeris wrote: > > Is there any way to exclude field from being generated by > > ModelForm, but still be present on admin interface? If I pass > > 'editable=False' to some element, it is not po

Re: How to exclude field from geneated ModelForm, but not from admin interface

2008-01-05 Thread Malcolm Tredinnick
On Sat, 2008-01-05 at 22:43 +0300, Alexander Chemeris wrote: > Hi, > > Is there any way to exclude field from being generated by > ModelForm, but still be present on admin interface? If I pass > 'editable=False' to some element, it is not possible to > enable it in admin interface - I tried to l

Re: How to exclude field from geneated ModelForm, but not from admin interface

2008-01-05 Thread Muchanic
Don't set editable=False, instead, just set the fields class properties in the Admin inner class and the Meta inner class (on the ModelForm). Alexander Chemeris wrote: > Hi, > > Is there any way to exclude field from being generated by > ModelForm, but still be present on admin interface? If I pa