On 10/02/11 09:04, hank23 wrote:
Is there anyway in a form definition to specify how the options for a
select widget are to be coded when they're be generated automatically?
Specifically is there a way to specify where the value and the
displayed data attributes of the generated options are to pu
Is there anyway in a form definition to specify how the options for a
select widget are to be coded when they're be generated automatically?
Specifically is there a way to specify where the value and the
displayed data attributes of the generated options are to pull that
data from when they're form
Hi,
Is there a way to change the text shown in the select widget for each
option? I have the following form where player2 is a foreign key to
user.
class MatchForm(forms.ModelForm):
class Meta:
model = Match
fields = ['player2','result','date']
widgets = {'result': fo
3 matches
Mail list logo