Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt ex…

…ample. Thanks, trey@ktrl.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b3103feead9c726d56cae09be92c2104f5a057e7 1 parent 6d387d3
Adrian Holovaty authored August 25, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/newforms.txt
2  docs/newforms.txt
@@ -1554,7 +1554,7 @@ as a custom extension to the ``TextInput`` widget::
1554 1554
     class CommentWidget(forms.TextInput):
1555 1555
         def __init__(self, *args, **kwargs):
1556 1556
             kwargs.setdefault('attrs',{}).update({'size': '40'})
1557  
-            super(forms.TextInput, self).__init__(*args, **kwargs)
  1557
+            super(CommentWidget, self).__init__(*args, **kwargs)
1558 1558
 
1559 1559
 Then you can use this widget in your forms::
1560 1560
 

0 notes on commit b3103fe

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