Author: mtredinnick
Date: 2007-04-01 00:05:59 -0500 (Sun, 01 Apr 2007)
New Revision: 4889

Modified:
   django/trunk/django/newforms/fields.py
Log:
Tweaked formatting so that comments are readable on 80-char terminals.


Modified: django/trunk/django/newforms/fields.py
===================================================================
--- django/trunk/django/newforms/fields.py      2007-04-01 05:00:44 UTC (rev 
4888)
+++ django/trunk/django/newforms/fields.py      2007-04-01 05:05:59 UTC (rev 
4889)
@@ -38,15 +38,16 @@
     def __init__(self, required=True, widget=None, label=None, initial=None, 
help_text=None):
         # required -- Boolean that specifies whether the field is required.
         #             True by default.
-        # widget -- A Widget class, or instance of a Widget class, that should 
be
-        #         used for this Field when displaying it. Each Field has a 
default
-        #         Widget that it'll use if you don't specify this. In most 
cases,
-        #         the default widget is TextInput.
-        # label -- A verbose name for this field, for use in displaying this 
field in
-        #         a form. By default, Django will use a "pretty" version of 
the form
-        #         field name, if the Field is part of a Form.
-        # initial -- A value to use in this Field's initial display. This 
value is
-        #            *not* used as a fallback if data isn't given.
+        # widget -- A Widget class, or instance of a Widget class, that should
+        #           be used for this Field when displaying it. Each Field has a
+        #           default Widget that it'll use if you don't specify this. In
+        #           most cases, the default widget is TextInput.
+        # label -- A verbose name for this field, for use in displaying this
+        #          field in a form. By default, Django will use a "pretty"
+        #          version of the form field name, if the Field is part of a
+        #          Form.
+        # initial -- A value to use in this Field's initial display. This value
+        #            is *not* used as a fallback if data isn't given.
         # help_text -- An optional string to use as "help text" for this Field.
         if label is not None:
             label = smart_unicode(label)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to