On Jun 19, 1:36 am, adelaide_mike wrote:
> Try again. I am new to Django and the web, so I do not know all the
> right vocabulary. Sorry.
>
> I need my ModelForm to be displayed, for creation of a new record,
> with a date field and a foreign key (pointing to the Source table)
> selector list a
i think ForiegnKey uses ChoiceField as it has to display n number of
choices.
How should we intialize choice field?
---
it should in this form
source = [(actual value,display value),(actual value,display
value) ]
Try again. I am new to Django and the web, so I do not know all the
right vocabulary. Sorry.
I need my ModelForm to be displayed, for creation of a new record,
with a date field and a foreign key (pointing to the Source table)
selector list aleady populated. I am doing this:
form = ListingFor
3 matches
Mail list logo