Ken,

You just put the submit buttons in the HTML form as you would normally.

The submit button isn't part of a Django Model or Form. It really  
doesn't make sense there; there's no data there.

Shawn



On Dec 5, 2009, at 9:55 PM, Ken <kenneth.m.mcdon...@sbcglobal.net>  
wrote:

> I have the following form, which displays nicely:
>
> class BuySellForm(forms.Form):
>    symbol = forms.CharField()
>    shares = forms.CharField()
>    price = forms.CharField()
>
> However, I can't figure out how to get multiple 'submit' buttons to
> display (one 'buy' and the other 'sell'). Actually, I can't even
> figure out how to get a single standard submit button to show up--
> there doesn't seem to be a 'submit widget' listed in the Django book.
> Or perhaps I'm just not seeing it?
>
> As you can tell, I'm an absolute newbie. First day. Thanks for the
> patience.
>
> Ken
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com 
> .
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to