I think Tim's suggestion of releasing the tag as a separate library which
can be included in builtins answers Karen's concerns about updating 3rd
party templates. I admit that is a case I had not considered.

Marc
On 7 Aug 2015 15:31, "Tim Graham" <timogra...@gmail.com> wrote:

> I put together a pull request to see how much code we are talking about:
> https://github.com/django/django/pull/5114
>
> It's 275 lines of code (mostly tests). I don't mind the outcome of the
> decision either way, but as it's been 5 years since the release of 1.2 and
> the "smart if" tag, I'm not sure delaying this a few more years would make
> a huge difference (that is to say, how about we make a "remove now or
> never" decision). We did a similar "undocument but don't remove" thing with
> the @permalink decorator.
>
> On Friday, August 7, 2015 at 7:33:52 AM UTC-4, Tim Graham wrote:
>>
>> Django 1.9 has the option to add templates tags to the builtins using the
>> TEMPLATES setting, so it wouldn't be difficult to publish a third-party app
>> with the legacy tags and document how to use it in legacy projects that
>> have difficulty updating:
>>
>> OPTIONS={
>>     'builtins': ['ifequal.tags'],
>> }
>>
>> On Friday, August 7, 2015 at 3:06:42 AM UTC-4, Aymeric Augustin wrote:
>>>
>>> > On 7 août 2015, at 05:43, Curtis Maloney <cur...@acommoncreative.com>
>>> wrote:
>>> >
>>> > I'd probably go with updating the documentation to say they're legacy
>>> > tags, you're better off using {% if %} now, and warn they may be
>>> > removed in a later release.
>>>
>>> This is my inclination as well. Then we can revisit the topic in a few
>>> years :-)
>>>
>>> --
>>> 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 django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> 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/ca285211-7ccd-4a12-ba95-8277dd86cfbd%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/ca285211-7ccd-4a12-ba95-8277dd86cfbd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
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/CAMwjO1GTDHgcxzC5g5dT6Vt2OdoPpd9g2YGg3QH1Un_ZVjnWTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to