  
      urlpatterns = router.urls
  """
  import itertools
  from collections import OrderedDict, namedtuple
  
  from django.core.exceptions import ImproperlyConfigured
  from django.urls import NoReverseMatch, path, re_path
  
  from rest_framework import views
 
</s> remove from collections import OrderedDict, defaultdict
 </s> add from collections import defaultdict </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict
 </s> add  </s> remove from collections import OrderedDict, namedtuple
 </s> add from collections import namedtuple
from collections import namedtuple
  
      urlpatterns = router.urls
  """
  import itertools
from collections import namedtuple
  
  from django.core.exceptions import ImproperlyConfigured
  from django.urls import NoReverseMatch, path, re_path
  
  from rest_framework import views
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/routers.py