Re: Showing BooleanField checkbox on left

2016-01-18 Thread Sayse
Thanks for your reply.. Subclassing the widget won't help because the widget has no knowledge about its label. I'd gladly override the form render method if I could find out where that would need to be but the source link

Re: Showing BooleanField checkbox on left

2016-01-15 Thread Tony Flury
On Thursday, 14 January 2016 17:55:41 UTC, Sayse wrote: > > Yea I've heard of it. Have they managed to achieve this? I'd be interested > to see how they've done it if so... > > I was hoping to find a way to do this with native django if possible > One way that might work is to subclass the Ch

Re: Showing BooleanField checkbox on left

2016-01-14 Thread Sayse
Yea I've heard of it. Have they managed to achieve this? I'd be interested to see how they've done it if so... I was hoping to find a way to do this with native django if possible -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Showing BooleanField checkbox on left

2016-01-14 Thread Luis Zárate
Do you know django crispy forms ? http://django-crispy-forms.readthedocs.org/en/latest/ El miércoles, 13 de enero de 2016, Sayse escribió: > I'm in the process of trying to minimize the amount of code I need to use to render a form with bootstrap styling with the hope of rendering with just {{ f

Showing BooleanField checkbox on left

2016-01-13 Thread Sayse
I'm in the process of trying to minimize the amount of code I need to use to render a form with bootstrap styling with the hope of rendering with just {{ form }} but I haven't yet managed to find a way to render a BooleanField with the checkbox before the text. from django.forms import For