-# -*- coding: utf-8 -*-
-from django.conf.urls import patterns, url
+from django.urls import path
+from . import views
-urlpatterns = patterns('accounts.views',
- url(r'^$', 'account_profile'),
- url(r'^change_profile$', 'account_change_basic_profile'),
- url(r'^change_password$', 'account_change_password'),
-)
+
+urlpatterns = [
+ path('', views.ProfileView.as_view(), name='accounts_profile'),
+]