On Fri, Sep 07, 2007 at 03:24:46PM -0500, jake elliott wrote:
>
> Oleg Korsak wrote:
> >> Sure - use the 'fields' option to specify the subset of model fields
> >> you want to use on the form.
> >>
> > form_for_instance() got an unexpected keyword argument 'fields'
> >
>
> this argument to fo
Oleg Korsak wrote:
>> Sure - use the 'fields' option to specify the subset of model fields
>> you want to use on the form.
>>
> form_for_instance() got an unexpected keyword argument 'fields'
>
this argument to form_for_instance() and form_for_model() is only
available in the SVN version of dj
Russell Keith-Magee пишет:
> On 9/7/07, Oleg Korsak <[EMAIL PROTECTED]> wrote:
>
>> I just want to create form_for_model and/or form_for_instance and then
>> delete one field (user). Is it possible or do I need to manually create my
>> own form?
>
> Sure - use the 'fields' option to specify th
On 9/7/07, Oleg Korsak <[EMAIL PROTECTED]> wrote:
> I just want to create form_for_model and/or form_for_instance and then
> delete one field (user). Is it possible or do I need to manually create my
> own form?
Sure - use the 'fields' option to specify the subset of model fields
you want to us
Hello. I have such model class:
from django.db import models
from django.utils.translation import gettext_lazy as _
from django.contrib.auth.models import User
class Profile(models.Model):
regnum = models.CharField(_('registration number'), maxlength=32)
pvnnum = models.CharField(_(
5 matches
Mail list logo