#32215: documentation possible error - minor
-------------------------------------+-------------------------------------
               Reporter:  j-driller  |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  3.1
  Documentation                      |       Keywords:  possible
               Severity:  Normal     |  documentation typo
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 On https://docs.djangoproject.com/en/3.1/topics/forms/modelforms/#topics-
 forms-modelforms
 Move comma in widget descriptor?
 it says:
 class AuthorForm(forms.Form):
     name = forms.CharField(max_length=100)
     title = forms.CharField(
         max_length=3,
         widget=forms.Select(choices=TITLE_CHOICES),
     )
     birth_date = forms.DateField(required=False)
 and I THINK should be:
 class AuthorForm(forms.Form):
     name = forms.CharField(max_length=100)
     title = forms.CharField(
         max_length=3,
         widget=forms.Select(choices=TITLE_CHOICES)
     ),
     birth_date = forms.DateField(required=False)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32215>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.17416b73361341bd51810f61569fbd45%40djangoproject.com.

Reply via email to