On Aug 9, 7:54 pm, Lacrima wrote:
> Hello!
>
> I want to use django.views.generic.create_update.create_object to
> create and save object.
> But I need one field to be excluded from the form displayed.
> I can do it by setting exclude = ('somefield',) in the Meta class of
> my ModelForm subclass.
Add to "quiz" field in Question model keyword blank=True (for varchar
type or "blank=True, null=True" for foreign key or datetime)
On Aug 9, 7:54 pm, Lacrima wrote:
> Hello!
>
> I want to use django.views.generic.create_update.create_object to
> create and save object.
> But I need one field to
Sorry, I have missed some words in the topic name, but I can't change
it now. (
On Aug 9, 8:54 pm, Lacrima wrote:
> Hello!
>
> I want to use django.views.generic.create_update.create_object to
> create and save object.
> But I need one field to be excluded from the form displayed.
> I can do it
3 matches
Mail list logo