1
0
mirror of https://github.com/django/django.git synced 2025-03-03 21:55:04 +00:00
Keryn Knight 854e9b0668 Fixed #32824 -- Improved performance of NodeList.render().
This avoids the following:
 - checking that each item in the nodelist is a subclass of Node,
 - calling str() on the render_annotated() output, because it's
   documented that Node.render() must return a string,
 - calling mark_safe() on the output, when the value to be wrapped is
   definitively known to be a string because the result of ''.join()
   is always of that type,
 - using an intermediate list to store each individual string.
2021-06-11 12:22:06 +02:00
..
2021-05-20 12:23:36 +02:00
2019-11-26 14:02:24 +01:00
2020-05-13 09:14:04 +02:00
2021-02-25 17:22:07 +01:00
2019-07-01 07:48:45 +02:00
2020-01-02 07:55:53 +01:00
2020-02-03 08:52:16 +01:00
2020-10-01 07:22:28 +02:00
2020-12-01 06:24:16 +01:00
2021-01-04 08:31:51 +01:00