Skip to content

Instantly share code, notes, and snippets.

class NameWidget(forms.MultiWidget):
"""
Custom widget for Custom Field Name Field
"""
def __init__(self):
widgets = (
forms.TextInput(attrs={}),
forms.TextInput(attrs={}),
forms.TextInput(attrs={})
)