def __init__(self, field, **kwargs):
		"""Initializer for Field class.
		
		Args:
			field (BoundField): Form field
			**kwargs (dict): Field attributes
		"""
		# Kwargs will always be additional attributes
		self.attrs = kwargs
		self.attrs.update(field.field.widget.attrs)

		# Field
		self.field = field
		self.widget = field.field.widget

		# Defaults
		self.values = {"class": [], "label": "", "help": "", "errors": ""}
def __init__ ( self , field , ** kwargs ) : self . attrs = kwargs self . attrs . update ( field . field . widget . attrs ) self . field = field self . widget = field . field . widget self . values = { "class" : [ ] , "label" : "" , "help" : "" , "errors" : "" }
Initializer for Field class.
		
		Args:
			field (BoundField): Form field
			**kwargs (dict): Field attributes