from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.UsersListView.as_view(), name='manage'), url(r'^create/$', views.Create.as_view(), name='create'), url(r'^edit/(?P[\w_-]+)/$', views.Update.as_view(), name='update'), url(r'^view/(?P[\w_-]+)/$', views.View.as_view(), name='view'), url(r'^delete/(?P[\w_-]+)/$', views.delete_user, name='delete'), url(r'^remove/(?P[\w_-]+)/$', views.remove_account, name='remove'), url(r'^profile/$', views.Profile.as_view(), name='profile'), url(r'^search/$', views.SearchView.as_view(), name='search'), # url(r'^profile/update/$', views.UpdateProfile.as_view(), name='update_profile'), url(r'^profile/change_password/$', views.Change_password.as_view(), name='change_password'), url(r'^profile/remove_account/$', views.Remove_account.as_view(), name='remove_account'), url(r'^profile/delete/$', views.DeleteUser.as_view(), name='delete_profile'), ]