X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/37e278e43ece42375352c07d9f04991ef58d992c..414d3b57a727f9edc1663a9542d47392cb3cce6e:/src/accounts/urls.py diff --git a/src/accounts/urls.py b/src/accounts/urls.py index 86e81fa..7584fc1 100644 --- a/src/accounts/urls.py +++ b/src/accounts/urls.py @@ -1,8 +1,7 @@ -# -*- coding: utf-8 -*- -from django.conf.urls.defaults import * +from django.conf.urls import url +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 = [ + url(r'^$', views.ProfileView.as_view(), name='accounts_profile'), +]