title: How to add multiple lists to a variable in order
body: <p>[templatetag.py]</p>
  <pre><code>@register.filter
  def after_teacher(value):
      split_teacher = re.split('[ -&gt; |/]', value)
      return split_teacher [len(split_teacher ) - split_teacher [::-1].index(''):]
  
  @register.filter
  def compare_teacher(v1, v2):
      for diff in difflib.unified_diff(v1, v2):
          return diff
  </code></pre>
  <p>[statistic.html]</p>
  <pre><code>{% for h in educate.history %}
       {% if h.summary_json.field_summary.teacher|length &gt; 0 %}
         {{ h.summary_json.field_summary.teacher|after_teacher }} -&gt; I'm going to add the compare_teacher template tag: {{ h.summary_json.field_summary.teacher|after_teacher}}
       {% endif %}
     {% endfor %}
  </code></pre>
  <p>The output of html is as follows.
  ['Halen', 'Lisa'] ['Halen', 'Kenji'] ['Halen'] ['Halen', 'Kenji'] ['who']</p>
  <p>I want to apply the &quot;compare_teacher&quot; template tag to this result(multiple list). I need two variables and I want to compare them in the order of the list.
  index 0 list, index 1 list and index 1 list, index 2 list and index 2 list, index 3 list and index 3 list, index 4 list and index 4 list, index 5 list</p>