Skip to content
Browse files

newforms: Added docstring to Widget.build_attrs()

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4db61fb commit e6babbfe5f35dd972c185ff194c285df9e2e4a06 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/newforms/
1 django/newforms/
@@ -30,6 +30,7 @@ def render(self, name, value):
raise NotImplementedError
def build_attrs(self, extra_attrs=None, **kwargs):
+ "Helper function for building an attribute dictionary."
attrs = dict(self.attrs, **kwargs)
if extra_attrs:

0 comments on commit e6babbf

Please sign in to comment.
Something went wrong with that request. Please try again.