#35070: Default form output is shown as as_table() instead of as_div()
-------------------------------------+-------------------------------------
               Reporter:  Zowie      |          Owner:  nobody
  Beha                               |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  5.0
  Documentation                      |
               Severity:  Normal     |       Keywords:  form, documentation
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 https://docs.djangoproject.com/en/4.2/ref/forms/api/#outputting-forms-as-
 html

 "This default output is a two-column HTML table, with a <tr> for each
 field."

 "... <table> output is the default output style when you print a form
 ..."

 The examples in this section show that if you print a form, it will render
 as an html table.
 However, if I try the examples locally, the form is rendered as a series
 of div elements.
 This leads me to think that the documentation doesn't reflect this new
 default.
 I'm not sure when this default was introduced, but it might be ~Django
 version 4.1, as that is when as_div() was added.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35070>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018cb6dccb40-baaec279-53b0-4ae1-88a1-eae1d67c42c4-000000%40eu-central-1.amazonses.com.

Reply via email to