  import re
  from collections import OrderedDict
  
  from django import template
  from django.template import loader
  from django.urls import NoReverseMatch, reverse
  from django.utils.encoding import iri_to_uri
 
</s> remove from collections import OrderedDict, namedtuple
 </s> add from collections import namedtuple </s> remove from collections import Counter, OrderedDict
 </s> add from collections import Counter </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add 
  import re

  
  from django import template
  from django.template import loader
  from django.urls import NoReverseMatch, reverse
  from django.utils.encoding import iri_to_uri
keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/templatetags/rest_framework.py