On 11/06/2014 01:14 PM, Aymeric Augustin wrote: >> On 6 nov. 2014, at 01:31, Carl Meyer <[email protected]> wrote: >> >> Seeing the `OrderedDict` syntax in the example in the latest PEP update >> made me sad. > > I’m convinced. > > I had an interesting idea for NAME. It can default to the name of the engine. > Then only people who configure more than one instance of a given engine > need to configure it. I updated the DEP accordingly. TEMPLATES becomes > quite elegant. > > This “smart” idea that turns out to be stupid for an obvious reason. Let me > know if I missed something.
Looks great to me, as long as the error message for non-unique `NAME` is clear about what needs to be done. Much easier to read and write the `TEMPLATES` setting now. Carl -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/545BE8F1.3040209%40oddbird.net. For more options, visit https://groups.google.com/d/optout.
