apps/accounts/urls.py
from django.conf.urls import url
from . import views
urlpatterns = [
url(r"^user/disable$", views.disable_user, name="disable_user"),
url(r"^user/get_auth_token$", views.get_auth_token, name="get_auth_token"),
url(
r"^user/refresh_auth_token$",
views.refresh_auth_token,
name="refresh_auth_token",
),
url(
r"^user/resend_email_verification/$",
views.resend_email_confirmation,
name="resend_email_confirmation",
),
]
app_name = "accounts"