/ Published in: Django
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class ReviewForm(forms.Form): rating = forms.ChoiceField(choices=STARS, error_messages={'required': 'Please choose a star rating'}) note = forms.CharField(widget=forms.Textarea(),)
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)