# Path: users/views.py
# def index(request):
# def register(request):
# def validate_form(form):
# def check_name(name):
# def check_email(email):
# def check_repeated_email(email):
# def check_matching_passwords(password, confirm_password):
# def check_employee_type_selected(employee_type):
# def solicitation_reset_password(request):
# def recovery_password(email):
# def url_recovery(request, token):
# def attendant_login(request):
# def make_login(request):
# def attendant_logout(request):
# def donor_registration(request):
# def donor_validate_form(form):
# def listSecretary(request):
# def active_login_secretary(request, id_secretary):
# def deactive_login_secretary(request, id_secretary):
# def donor_detail(request,donor_id):
# def donors_list(request):


from django.conf.urls import url
from django.conf.urls import include
from users import views

urlpatterns = [
    url(r'^$', views.index, name="index"),
    url(r'^register/', views.register, name="register"),
    url(r'^solicitar_senha/', views.solicitation_reset_password, name = 'solicitation_password'),
    url(r'^recuperar_senha/(?P<token>[0-9a-z]+)/', views.url_recovery, name = 'recovery_password'),
    url(r'^login/$', views.attendant_login, name ='login'),

# Path: users/views.py
# def index(request):
# def register(request):
# def validate_form(form):
# def check_name(name):
# def check_email(email):
# def check_repeated_email(email):
# def check_matching_passwords(password, confirm_password):
# def check_employee_type_selected(employee_type):
# def solicitation_reset_password(request):
# def recovery_password(email):
# def url_recovery(request, token):
# def attendant_login(request):
# def make_login(request):
# def attendant_logout(request):
# def donor_registration(request):
# def donor_validate_form(form):
# def listSecretary(request):
# def active_login_secretary(request, id_secretary):
# def deactive_login_secretary(request, id_secretary):
# def donor_detail(request,donor_id):
# def donors_list(request):


# Path: users/urls.py
from django.conf.urls import url
from django.conf.urls import include
from users import views


urlpatterns = [
    url(r'^$', views.index, name="index"),
    url(r'^register/', views.register, name="register"),
    url(r'^solicitar_senha/', views.solicitation_reset_password, name = 'solicitation_password'),
    url(r'^recuperar_senha/(?P<token>[0-9a-z]+)/', views.url_recovery, name = 'recovery_password'),
    url(r'^login/$', views.attendant_login, name ='login'),

    url(r'^logout/$', views.attendant_logout, name ='logout'),