X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/2c9debf2812dfbd4ff59348559ae57cd49858e8b..76fc5b2671d4c445e57236a5b1d54e56fe49764a:/src/accounts/urls.py diff --git a/src/accounts/urls.py b/src/accounts/urls.py index 41752f8..51f344e 100644 --- a/src/accounts/urls.py +++ b/src/accounts/urls.py @@ -1,8 +1,7 @@ -# -*- 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'), +]