Re: [Django] #13115: Display controls in particular fieldset in django admin add page horizontally

2010-03-14 Thread Django
#13115: Display controls in particular fieldset in django admin add page
horizontally
---+
  Reporter:  delfick...@gmail.com  | Owner:  nobody
Status:  closed| Milestone:
 Component:  django.contrib.admin  |   Version:  1.1   
Resolution:  worksforme|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by ramiro):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 You already can do that. Please read carefully the documentation of the
 `fieldsets` ModelAdmin option documentation:
 
http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.fieldsets

 Post any further question to the django.users mailing list or the #django
 IRC channel.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13115: Display controls in particular fieldset in django admin add page horizontally

2010-03-14 Thread Django
#13115: Display controls in particular fieldset in django admin add page
horizontally
---+
  Reporter:  delfick...@gmail.com  | Owner:  nobody
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.1   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by gabrielhurley):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Just FYI, this is not the easiest thing to do. It's not that hard to make
 a single widget that has multiple fields on one row, but making multiple
 widgets coexist on one row requires changing how the admin templates
 render the rows.

 Right now it just uses a for loop to render each field in its own div, and
 render the appropriate label and widget inside that div.

 Making it allow horizontally-arranged bits would involve changes to the
 admin templates, admin stylesheet, and to the forms component itself (to
 add some sort of attribute determining which fields should be floated next
 to each other).

 You could implement it entirely in admin, but if you're going to do all
 that work, why not implement it for all forms instead of just admin
 forms...

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.