Re: Proposal: Multiple-Inheritance in Templates

2020-02-19 Thread Yo-Yo Ma
*only* from the generic-list.html template? >>>> >>>> On Tuesday, February 18, 2020 at 3:32:12 PM UTC-5, matthew.pava wrote: >>>>> >>>>> I did read your post, and I did come to that conclusion. I may have >>>>&

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread izaias de oliveira elias
derstood, and I’ll certainly take the blame for my own >>>> misunderstanding. The example you provided can be done without multiple >>>> template inheritance. So far, my thoughts on the design concept is that >>>> multiple template inheritance is unnecessary. >>>

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Yo-Yo Ma
>>> template inheritance. So far, my thoughts on the design concept is that >>> multiple template inheritance is unnecessary. >>> >>> >>> >>> *From:* django-d...@googlegroups.com [mailto: >>> django-d...@googlegroups.com] *On Behalf Of *Yo-Yo Ma

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Yo-Yo Ma
e. So far, my thoughts on the design concept is that >> multiple template inheritance is unnecessary. >> >> >> *From:* django-d...@googlegroups.com [mailto:django-d...@googlegroups.com] >> *On Behalf Of *Yo-Yo Ma >> *Sent:* Tuesday, February 18, 2020

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Aymeric Augustin
-d...@googlegroups.com <> [mailto:django-d...@googlegroups.com > <>] On Behalf Of Yo-Yo Ma > Sent: Tuesday, February 18, 2020 2:25 PM > To: Django developers (Contributions to Django itself) > Subject: Re: Proposal: Multiple-Inheritance in Templates > > > @matthew.pa

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Matthias Kestenholz
ssary. >> >> >> >> *From:* django-d...@googlegroups.com [mailto:django-d...@googlegroups.com] >> *On Behalf Of *Yo-Yo Ma >> *Sent:* Tuesday, February 18, 2020 2:25 PM >> *To:* Django developers (Contributions to Django itself) >> *Subject:* Re: Proposal:

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Aymeric Augustin
o Ma > Sent: Tuesday, February 18, 2020 2:25 PM > To: Django developers (Contributions to Django itself) > Subject: Re: Proposal: Multiple-Inheritance in Templates > > > @matthew.pava please read the entire OP again. > > > You can't have actually read the post

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Yo-Yo Ma
concept is that > multiple template inheritance is unnecessary. > > > > *From:* django-d...@googlegroups.com [mailto: > django-d...@googlegroups.com ] *On Behalf Of *Yo-Yo Ma > *Sent:* Tuesday, February 18, 2020 2:25 PM > *To:* Django developers (Contributions to Django itse

RE: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Matthew Pava
template inheritance is unnecessary. From: django-developers@googlegroups.com [mailto:django-developers@googlegroups.com] On Behalf Of Yo-Yo Ma Sent: Tuesday, February 18, 2020 2:25 PM To: Django developers (Contributions to Django itself) Subject: Re: Proposal: Multiple-Inheritance in Templates

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Yo-Yo Ma
@matthew.pava please read the entire OP again. You can't have actually read the post and come to the conclusion that inheriting from generic-list.html would solve the problem. These kinds of "I didn't read it but it looks like you could just X" replies are a big problem in mailing lists; they h

RE: Proposal: Multiple-Inheritance in Templates

2020-02-17 Thread Matthew Pava
In your example, you could just inherit from generic-list.html since it already extends base.html. You would be repeating yourself in your current example. orders/list.html {% extends 'generic-list.html' %} {% block list-item %} Order # {{ order.id }} (total: {{ order.total }}) {% endblock