old_contents: from django.urls import re_path
  
  from accounts.rest import views
  from tg_react.api.accounts.views import ForgotPassword, RestorePassword
  
  
  urlpatterns = [
      re_path(r"^me$", views.UserDetails.as_view(), name="api-user-details"),
      # signup
      re_path(r"^signup$", views.SignUpView.as_view(), name="api-signup"),
      # password recovery
      re_path(r"^forgot_password$", ForgotPassword.as_view(), name="api-forgot-password"),
      re_path(
          r"^forgot_password/token$",
          RestorePassword.as_view(),
          name="api-forgot-password-token",
      ),
  ]
  
new_contents: from django.urls import re_path
  
  from tg_react.api.accounts.views import ForgotPassword, RestorePassword
  
  from accounts.rest import views
  
  
  urlpatterns = [
      re_path(r"^me$", views.UserDetails.as_view(), name="api-user-details"),
      # signup
      re_path(r"^signup$", views.SignUpView.as_view(), name="api-signup"),
      # password recovery
      re_path(r"^forgot_password$", ForgotPassword.as_view(), name="api-forgot-password"),
      re_path(
          r"^forgot_password/token$",
          RestorePassword.as_view(),
          name="api-forgot-password-token",
      ),
  ]
  
subject: Fix linting bugs