X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/2c9debf2812dfbd4ff59348559ae57cd49858e8b..1c1998bd8961dbe721b9e133811678c92fd3c685:/src/accounts/urls.py?ds=inline diff --git a/src/accounts/urls.py b/src/accounts/urls.py index 41752f8..6a18733 100644 --- a/src/accounts/urls.py +++ b/src/accounts/urls.py @@ -1,8 +1,9 @@ # -*- coding: utf-8 -*- -from django.conf.urls import patterns, url +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.account_profile), + url(r'^change_profile$', views.account_change_basic_profile), + url(r'^change_password$', views.account_change_password), +]