OrgainÂ® makes delicious Certified Organic nutritional shakes, high protein shakes and protein powder to help people lead healthy, vibrant lives.
Defining FormsÂ¶Â§. Forms are composed of fields, which have a widget. from django.utils.translation import gettext_lazy as _ from django import forms class ContactForm(forms.Form): name = forms.CharField(label=_(Your Name), max_length=255, widget=forms.TextInput, ) email = forms.EmailField(label=_(Email address))
In order to get Django to display this template, you need to change your hello view function (defined in your application's views.py) such that it renders its response using the template. The easiest way to do that is to use the render_to_response function, defined in the django_shortcuts package.