Re: [Future feature?] Viewsets

2013-01-31 Thread Wim Feijen
, Bertrand Bordage wrote: > > Hi, > > This is my first message here, though I am using Django every day since > two years. > > Yesterday I read a Ruby on Rails tutorial and this gave me an idea of what > could IMO be a nice feature: viewsets. > I therefore started a tiny projec

Re: Viewsets

2013-01-31 Thread Amirouche Boubekki
Héllo Anssi, 2013/1/31 Anssi Kääriäinen > On 28 tammi, 21:08, Bertrand Bordage > wrote: > > > I know this answer isn't wanted... But testing different > > > implementations outside Django core/contrib is IMHO the right way to > > > go. > > > > OK, so, discussion closed. > > My intention wasn't

Re: Viewsets

2013-01-31 Thread Anssi Kääriäinen
On 28 tammi, 21:08, Bertrand Bordage wrote: > > I know this answer isn't wanted... But testing different > > implementations outside Django core/contrib is IMHO the right way to > > go. > > OK, so, discussion closed. My intention wasn't to stop discussion about this feature, just to say that it i

Re: Viewsets

2013-01-28 Thread Bertrand Bordage
@Amirouche: Yes, sorry, I compared all django-composite instead of UrlCollections only... Also the model app_labels detection is only relevant for model based > UrlCollections and I think we should provide one feature at a time. In django-viewsets, this is a feature of ModelViewSet. The ba

Re: Viewsets

2013-01-28 Thread Anssi Kääriäinen
answer isn't wanted... But testing different implementations outside Django core/contrib is IMHO the right way to go. - Anssi On 28 tammi, 08:08, "Amirouche B." wrote: > > What's in common between multiviews, composite, and viewsets: > > >    - Views are g

Re: [Future feature?] Viewsets

2013-01-27 Thread Amirouche B.
> > What's in common between multiviews, composite, and viewsets: > >- Views are grouped in a class. >- Each view is tied to an URL pattern. >- All URL patterns of a group of views are accessible using nearly the >same syntax: GroupOfViews.

Re: [Future feature?] Viewsets

2013-01-26 Thread Bertrand Bordage
b.com/django-composite/django-composite/blob/master/composite/urls.py > Please have a look at it, I'll do the same with multiviews and viewsets and > to try to advance the discussion further maybe merge the three of them ? > Excellent! I spent two hours reading the code of both

Re: Viewsets

2013-01-26 Thread Anssi Kääriäinen
On 26 tammi, 12:49, "Amirouche B." wrote: > Please have a look at it, I'll do the same with multiviews and viewsets and > to try to advance the discussion further maybe merge the three of them ? Multiviews is just a proof of concept. If you see something nice in the con

Re: [Future feature?] Viewsets

2013-01-26 Thread Amirouche B.
Héllo Bertrand, Yesterday I read a Ruby on Rails tutorial and this gave me an idea of what > could IMO be a nice feature: viewsets. > I therefore started a tiny project, > django-viewsets<https://github.com/BertrandBordage/django-viewsets> > (djangonauts >

Re: Viewsets

2013-01-25 Thread Anssi Kääriäinen
On 26 tammi, 05:04, Bertrand Bordage wrote: > Hi, > > This is my first message here, though I am using Django every day since two > years. > > Yesterday I read a Ruby on Rails tutorial and this gave me an idea of what > could IMO be a nice feature: viewsets. > I therefor

[Future feature?] Viewsets

2013-01-25 Thread Bertrand Bordage
Hi, This is my first message here, though I am using Django every day since two years. Yesterday I read a Ruby on Rails tutorial and this gave me an idea of what could IMO be a nice feature: viewsets. I therefore started a tiny project, django-viewsets<https://github.com/BertrandBord