On 24 Mar 2016, at 01:07, Tim Graham <[email protected]> wrote: > Asking again... I am not sure if the Django Template Language should evolve > new features like this. Is there any prior art in Jinja2? Absent any other > +1's, I guess I would be more comfortable accepting the feature if so.
The feature makes sense to me. I’m surprised it wasn’t proposed earlier. Actually, perhaps it was — did someone search the archives of this mailing list? > The code seems too complicated. Could we reuse os.path handling from the > standard library to simplify it? Yes, the patch must contain a call to posixpath.join somewhere. This is tricky to get right, don’t reinvent the wheel! (See ticket 26249 for an example of what happens when we implement our own path manipulations.) -- Aymeric. -- 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 https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5FD3B13D-CCCC-436B-BE67-7599B985C436%40polytechnique.org. For more options, visit https://groups.google.com/d/optout.
