Hi,
i just starting to use CBVs in django
and i try to implement something like that:
from django.views.generic import DetailView
from .models import Product, ProductOpinion
from .forms import OpinionForm
class OpinionListMixin(object):
queryset = ProductOpinion.objects.all().order_by('-da
On Aug 29, 5:24 pm, Melvyn Sopacua wrote:
> On 29-8-2012 18:46, Rainy wrote:
>
> > On Aug 29, 3:10 am, Melvyn Sopacua wrote:
> >> On 29-8-2012 4:44, Rainy wrote:
>
> >>> When I use CBVs, I nearly always end up needing to mix different types in
> >>> the same view, e.g. detail view and list view
On 29-8-2012 18:46, Rainy wrote:
> On Aug 29, 3:10 am, Melvyn Sopacua wrote:
>> On 29-8-2012 4:44, Rainy wrote:
>>
>>> When I use CBVs, I nearly always end up needing to mix different types in
>>> the same view, e.g. detail view and list view, list view and modelform
>>> view, etc. I really like C
On Aug 29, 3:10 am, Melvyn Sopacua wrote:
> On 29-8-2012 4:44, Rainy wrote:
>
> > When I use CBVs, I nearly always end up needing to mix different types in
> > the same view, e.g. detail view and list view, list view and modelform
> > view, etc. I really like CBVs but I feel this is the one shortc
On 29-8-2012 4:44, Rainy wrote:
> When I use CBVs, I nearly always end up needing to mix different types in
> the same view, e.g. detail view and list view, list view and modelform
> view, etc. I really like CBVs but I feel this is the one shortcoming that I
> constantly run into that makes CBVs
When I use CBVs, I nearly always end up needing to mix different types in
the same view, e.g. detail view and list view, list view and modelform
view, etc. I really like CBVs but I feel this is the one shortcoming that I
constantly run into that makes CBVs much less flexible and helpful than
th
6 matches
Mail list logo