def field_init(self, *args, **kwargs):
humanize_func = kwargs.pop('<STR_LIT>', None)<EOL>if humanize_func:<EOL><INDENT>def humanize(val, inst, *args, **kwargs):<EOL><INDENT>return humanize_func(val, inst, field=self, *args, **kwargs)<EOL><DEDENT>self.humanized = humanize<EOL><DEDENT>else:<EOL><INDENT>self.humanized = self.default_humanized<EOL><DEDENT>getattr(self, '<STR_LIT>')(*args, **kwargs)<EOL>
Patches a Django Field's `__init__` method for easier usage of optional `kwargs`. It defines a `humanized` attribute
on a field for better display of its value.