#NEWLINE# @ cached_property #NEWLINE# def field( self ) : #NEWLINE# #INDENT# from wagtail.wagtailadmin.widgets import AdminDateInput #NEWLINE# field_kwargs = { #NEWLINE# #INDENT# 'widget' : AdminDateInput , #NEWLINE# #UNINDENT# } #NEWLINE# field_kwargs . update ( self . field_options ) #NEWLINE# return forms . DateField ( ** field_kwargs )