Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Django forms

from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User


# Create your forms here.
class NameForm(forms.Form):
    your_name = forms.CharField(label='Your name', max_length=100)
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #Django #forms
ADD COMMENT
Topic
Name
5+9 =