from django.urls import path from . import views app_name = "accounts" urlpatterns = [ path( r'change-profile/', views.ProfileView.as_view(), name="change-profile" ), path( r'', views.SettingsListView.as_view(), name="settings" ), ]