Created
March 10, 2017 17:56
-
-
Save leydson-vieira/1bde4a745463a9dc3ec7edb03d9e7fd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf.urls import url | |
from usuario import views | |
urlpatterns = [ | |
url(r'^cadastro/$',views.UsuarioCreateView.as_view(), name='cadastro' ), | |
url(r'^editar/(?P<slug>[-\w\W\d]+)/$',views.UsuarioUpdateView.as_view(), name='editar_cadastro'), | |
url(r'^senha/(?P<slug>[-\w\W\d]+)/$',views.PasswordChangeView.as_view(), name='senha'), | |
url(r'^excluir/(?P<slug>[-\w\W\d]+)/$',views.UsuarioDeleteView.as_view(), name='excluir_cadastro') | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment