old_contents: from pydoc import locate
  
  from django.conf import settings
  from django.conf.urls import include, url
  
  
  from .views.auth import LoginEndpoint, LogoutEndpoint
  from .views.attachments import AttachmentsEndpoint
  from .views.activities import ActivitiesEndpoint
  from .views.comments import CommentsEndpoint
  from .views.download import DownloadEndpoint
  from .views.ops import OpsEndpoint
  from .views.profiles import ProfilesEndpoint
  from .views.responders import RespondersEndpoint
  from .views.session import SessionEndpoint
  from .views.subscribers import SubscribersEndpoint
  from .views.tickets import TicketsEndpoint
  from .views.ticket_stats import TicketStatsEndpoint
  
  
  router = locate(settings.ROUTER_CLASS)()
  router.register(r'attachments', AttachmentsEndpoint)
  router.register(r'activities', ActivitiesEndpoint)
  router.register(r'comments', CommentsEndpoint)
  router.register(r'download', DownloadEndpoint, base_name='download')
  router.register(r'me', SessionEndpoint, base_name='me')
  router.register(r'ops', OpsEndpoint, base_name='ops')
  router.register(r'profiles', ProfilesEndpoint)
  router.register(r'responders', RespondersEndpoint)
  router.register(r'subscribers', SubscribersEndpoint)
  router.register(r'tickets', TicketsEndpoint)
  router.register(r'ticket-stats', TicketStatsEndpoint, base_name='ticket_stats')
  
  auth_router = locate(settings.ROUTER_CLASS)()
  auth_router.register(r'login', LoginEndpoint, base_name='login')
  auth_router.register(r'logout', LogoutEndpoint, base_name='login')
  
  urlpatterns = [
      url('api/v3/', include(router.urls)),
      url('accounts/', include(auth_router.urls)),
      url('accounts/social/', include('social_django.urls', namespace='social'))
  ]
  
new_contents: from pydoc import locate
  
  from django.conf import settings
  from django.conf.urls import include, url
  
  
  from .views.auth import LoginEndpoint, LogoutEndpoint
  from .views.attachments import AttachmentsEndpoint
  from .views.activities import ActivitiesEndpoint
  from .views.comments import CommentsEndpoint
  from .views.download import DownloadEndpoint
  from .views.ops import OpsEndpoint
  from .views.profiles import ProfilesEndpoint
  from .views.responders import RespondersEndpoint
  from .views.session import SessionEndpoint
  from .views.subscribers import SubscribersEndpoint
  from .views.tickets import TicketsEndpoint
  from .views.ticket_stats import TicketStatsEndpoint
  
  
  router = locate(settings.ROUTER_CLASS)(trailing_slash=False)
  router.register(r'attachments', AttachmentsEndpoint)
  router.register(r'activities', ActivitiesEndpoint)
  router.register(r'comments', CommentsEndpoint)
  router.register(r'download', DownloadEndpoint, base_name='download')
  router.register(r'me', SessionEndpoint, base_name='me')
  router.register(r'ops', OpsEndpoint, base_name='ops')
  router.register(r'profiles', ProfilesEndpoint)
  router.register(r'responders', RespondersEndpoint)
  router.register(r'subscribers', SubscribersEndpoint)
  router.register(r'tickets', TicketsEndpoint)
  router.register(r'ticket-stats', TicketStatsEndpoint, base_name='ticket_stats')
  
  auth_router = locate(settings.ROUTER_CLASS)(trailing_slash=False)
  auth_router.register(r'login', LoginEndpoint, base_name='login')
  auth_router.register(r'logout', LogoutEndpoint, base_name='logout')
  
  urlpatterns = [
      url('api/v3/', include(router.urls)),
      url('accounts/', include(auth_router.urls)),
      url('accounts/social/', include('social_django.urls', namespace='social'))
  ]
  
subject: Disable the trailing slash in routes.