#37162: Docs ContactForm example demonstrates poor practices
-------------------------------------+-------------------------------------
     Reporter:  Mike Edmunds         |                    Owner:  Mike
         Type:                       |  Edmunds
  Cleanup/optimization               |                   Status:  assigned
    Component:  Documentation        |                  Version:  6.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Mike Edmunds):

 A version of that same `ContactForm` also appears in
 
[https://www.djangoproject.com/start/#:~:text=class%20BandContactForm(forms.Form)%3A%0A%20%20%20%20subject%20%3D%20forms.CharField(max_length%3D100)%0A%20%20%20%20message%20%3D%20forms.TextField()%0A%20%20%20%20sender%20%3D%20forms.EmailField()%0A%20%20%20%20cc_myself%20%3D%20forms.BooleanField(required%3DFalse)
 djangoproject.com/start/] under ''Intro to Django > Forms'' (but without
 the email sending function).

 We may want to update it in
 
djangoproject.com:[https://github.com/django/djangoproject.com/blob/69746e315450ee9ce8074d1f4fe1dc229e504d90/djangoproject/templates/start.html#L217-L221
 djangoproject/templates/start.html].
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37162#comment:3>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019ee217d1d8-58c61320-1cbd-4942-ad7d-b1159822d8e3-000000%40eu-central-1.amazonses.com.

Reply via email to