old_contents: from django.conf.urls import url
  
  from djoser.social import views
  
  urlpatterns = [
      url(
          r"^o/(?P<provider>\S+)/$",
          views.ProviderAuthView.as_view(),
          name="provider-auth",
      )
  ]
  
new_contents: from django.urls import re_path
  
  from djoser.social import views
  
  urlpatterns = [
      re_path(
          r"^o/(?P<provider>\S+)/$",
          views.ProviderAuthView.as_view(),
          name="provider-auth",
      )
  ]
  
subject: Resolve Django 4.0 warning in urls config