#29189: BoundField: extra css classes
-----------------------------+--------------------------------------
     Reporter:  James Pic    |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Forms        |                  Version:  2.0
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------

Comment (by James Pic):

 We can try to make a proposal in Django but currently in adapters the
 proposal is:

 {{{

     # Time to show off for some user love !
     assert
 a.adapters.add('elementui.Form').steps.render().payload.rendered == '<an
 awesome form>'

     # So yeah, this kind of presentational adapters will love visiting a's
 map
     # and add()'s adapters the see fit !
     assert
 a.adapters.add('googlemdc.Form').steps.render().payload.rendered == '<an
 awesome form>'

     # Let's just make an HTTP response !
     assert
 
a.adapters.add('googlemdc.Form').add('django.ProcessFormResponse').steps.process().payload.response

 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29189#comment:6>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.b68c77d561e38d1b0fd4a3abc13ed1e6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to