On Dec 16, 3:09 pm, Limpy wrote:
> I am using forms in a pretty standard way, however I am running into
> some problems which I can't find a solution to involving forms not
> updating appropriately.
>
> I have the following form code:
>
> class AllStatsForm(forms.Form):
> game = forms.Choi
On Wed, Dec 16, 2009 at 10:09 AM, Limpy wrote:
...
> class AllStatsForm(forms.Form):
> game = forms.ChoiceField(choices=GetGameChoices())
> birdies = forms.IntegerField(min_value=0, label="Number of Birdies")
...
I'm pretty sure that you can pass a callable as the value of choices,
Wiadomość napisana w dniu 2009-12-16, o godz. 16:09, przez Limpy:
> I am using forms in a pretty standard way, however I am running into
> some problems which I can't find a solution to involving forms not
> updating appropriately.
>
> I have the following form code:
>
> class AllStatsForm(forms.F
3 matches
Mail list logo