Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Django forms

# application/forms.py

from django import forms

class ContactForm(forms.Form):
    name = forms.CharField(max_length=100)
    email = forms.EmailField()
    message = forms.CharField(max_length=1000)
Source by www.mattlayman.com #
 
PREVIOUS NEXT
Tagged: #Django #forms
ADD COMMENT
Topic
Name
7+3 =