old_contents: from django.conf.urls import url
  
  from ..urls import urlpatterns
  
  
  class FakeViewForUrl(object):
      def __call__(self):
          raise Exception("Should not get called.")
  
  
  urlpatterns += [
      url(r"^the/app/$", FakeViewForUrl, name="the_app"),
      url(r"^accounts/signup/$", FakeViewForUrl, name="signup"),
      url(r"^password/reset/confirm/(?P<token>.+)/$", FakeViewForUrl,
          name="password_reset"),
  ]
  
new_contents: from django.urls import path
  
  from ..urls import urlpatterns
  
  
  class FakeViewForUrl:
      def __call__(self):
          raise Exception("Should not get called.")
  
  
  urlpatterns += [
      path("the/app/$", FakeViewForUrl, name="the_app"),
      path("accounts/signup/$", FakeViewForUrl, name="signup"),
      path("password/reset/confirm/<str:token>/$", FakeViewForUrl,
          name="password_reset"),
  ]
  
subject: Clean up warnings