#36788: horizontal alignment of fields in admin change not working in 6.0
-------------------------------------+-------------------------------------
     Reporter:  Ronald Ligteringen   |                     Type:  Bug
       Status:  new                  |                Component:
                                     |  contrib.admin
      Version:  6.0                  |                 Severity:  Normal
     Keywords:  horizontal           |             Triage Stage:
  alignment fields admin             |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
 To horizontally align fields in the admin change page you can combine
 these fields in a tuple, like this:

 {{{#!python
 fields = ["name", ("age", "gender"), "nationality"]
 }}}

 In this example, the change screen would show something like this:

 **name:
 age:  gender:
 nationality:**

 This works great in version 5, however this is not working in 6.0. This
 will show all fields vertically like this:

 **name:
 age:
 gender:
 nationality:**
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36788>
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/0107019b07b88450-27b59a96-8df9-4a1b-a98e-1cb71cc0d844-000000%40eu-central-1.amazonses.com.

Reply via email to