Re: Creating a custom mixin for use with the generic CreateView

2012-10-05 Thread Guruprasad L
Hi, On Friday, October 5, 2012 3:55:26 AM UTC+5:30, Javier Guerra wrote: > > On Thu, Oct 4, 2012 at 4:55 PM, Guruprasad L > > wrote: > > This is the first time I am using mixins in code. I read mixed opinions > > about mixins, a few of them saying that it is bad. If it is bad, is > there > >

Re: Creating a custom mixin for use with the generic CreateView

2012-10-04 Thread Javier Guerra Giraldez
On Thu, Oct 4, 2012 at 4:55 PM, Guruprasad L wrote: > This is the first time I am using mixins in code. I read mixed opinions > about mixins, a few of them saying that it is bad. If it is bad, is there > some other way to implement this? regardless of any moral issues for or against mixins, this

Re: Creating a custom mixin for use with the generic CreateView

2012-10-04 Thread Guruprasad L
On Friday, October 5, 2012 3:14:22 AM UTC+5:30, Guruprasad L wrote: > > Hi I have created a Mixin that overrides just the get_form method, to be > used with a class that inherits from CreateView. The Mixin inherits from > object. In my view, when I include CreateView and my mixin in that order,